Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Haconiwa's current status: security, mruby impr...
Search
KONDO Uchio
December 14, 2018
Technology
0
140
Haconiwa's current status: security, mruby improvement, CRIU
@Pepabo Tech Friday (社内勉強会)、一部改変
2018/12/14
KONDO Uchio
December 14, 2018
Tweet
Share
More Decks by KONDO Uchio
See All by KONDO Uchio
大規模レガシーテストを 倒すための CI基盤の作り方 / #CICD2023
udzura
5
2.4k
Ruby x BPF in Action / RubyKaigi 2022
udzura
0
260
Narrative of Ruby & Rust
udzura
0
230
開発者生産性指標の可視化 / pepabo-four-keys
udzura
3
1.7k
Talk of RBS
udzura
0
450
Re: みなさん最近どうですか? / FGN tech meetup in 2021
udzura
0
790
Dockerとやわらかい仮想化 - ProSec-IT/SECKUN 2021 edition -
udzura
2
740
Device access filtering in cgroup v2
udzura
1
930
"Story of Rucy" on RubyKaigi takeout 2021
udzura
0
850
Other Decks in Technology
See All in Technology
新規案件の立ち上げ専門チームから見たAI駆動開発の始め方
shuyakinjo
0
130
MySQL HeatWave:サービス概要のご紹介
oracle4engineer
PRO
4
1.7k
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
450
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.6k
広島銀行におけるAWS活用の取り組みについて
masakimori
0
140
Goss: Faiss向けの新しい本番環境対応 Goバインディング #coefl_go_jp
bengo4com
0
1.4k
AIとTDDによるNext.js「隙間ツール」開発の実践
makotot
6
700
Postman MCP 関連機能アップデート / Postman MCP feature updates
yokawasa
0
150
[CV勉強会@関東 CVPR2025 読み会] MegaSaM: Accurate, Fast, and Robust Structure and Motion from Casual Dynamic Videos (Li+, CVPR2025)
abemii
0
190
Effective Match Types - Scala Days 2025
bishabosha
1
110
現場が抱える様々な問題は “組織設計上” の問題によって生じていることがある / Team-oriented Organization Design 20250827
mtx2s
5
1.2k
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
290
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Gamification - CAS2011
davidbonilla
81
5.4k
Embracing the Ebb and Flow
colly
87
4.8k
Why Our Code Smells
bkeepers
PRO
338
57k
A Modern Web Designer's Workflow
chriscoyier
695
190k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
480
A Tale of Four Properties
chriscoyier
160
23k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Transcript
αʔϏεΛٕज़ͰࠩผԽ͢ΔͭͷτϐοΫ ۙ౻Ӊஐ࿕(.01FQBCP *OD 1FQBCP5FDI'SJEBZ )BDPOJXBͱ$3*6ͱࢲ
γχΞɾϓϦϯγύϧΤϯδχΞ ۙ౻ Ӊஐ࿕ / @udzura https://blog.udzura.jp/ Uchio Kondo ٕज़෦ ٕज़ج൫νʔϜ
࠷͍ۙͬͯΔϒΩ: εΫεϩϕονϡʔ
None
ηΩϡϦςΟతͳڧԽ
"QQ"SNPSͷରԠ wNSUD IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBQVMM
QJWPU@SPPUԽ wDISPPU ʹΑΔVOKBJM͜ΕͰෆՄೳʹͳΔ IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBQVMM
4FOTJUJWFͳϑΝΠϧͷϚεΫ wQSPDEFWͳͲͷԼͷϑΝΠϧ IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBQVMM
ηΩϡର
NSVCZͷόάใࠂ ͱରԠʢ.BU[͕ʣ
'JCFSͰ($͕ेͰͳ͍͕࣌͋Δ IUUQTHJUIVCDPNNSVCZNSVCZJTTVFT
BUUSͷOJMHVBSE͕ಈ࡞͠ͳ͍ IUUQTHJUIVCDPNNSVCZNSVCZJTTVFT
ྫ֎ͷߦ൪߸͕ͣΕ͍ͯΔ IUUQTHJUIVCDPNNSVCZNSVCZJTTVFT
ಛఆͷࣈϦςϥϧΛFWBM Ͱ)BOH IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBJTTVFT
શͯରॲࡁΈʂ ʢ.BU[͕ʣ ʢ͋Γ͕ͱ͏͍͟͝·ͨ͠ʣ
όάใࠂͷίπ
ɾใࠂͷʮܕʯΛ֮͑Δ ɾ࠷খέʔεΛݟ͚ͭΔ ɾHEC
$3*6ରԠ
None
Let’s take a glance at the future of containers! Please
visit: https://speakerdeck.com/udzura/introduction-to-criu Introduction to CRIU
What I’m working on now • Bundling CRIU features into
Haconiwa • haconiwa checkpoint: • To create checkpoint from a running container • haconiwa restore: • To make a restored container, with some spec changes
Normal FastCon lifecycle ngx_mruby Haconiwa Containers Restart on next request
Stop after “Lifetime” Haconiwa
Lifecycle with CRIU ngx_mruby Haconiwa Containers ReSTORE on next request
Make image just before stop, In async process haconiwa restore Image
#FGPSF"GUFS 3BJMT ˞CPPUTOBQͳ͠ ಉͷΞϓϦΛ $3*6*NBHF͔Β࠶ੜ
)BDPOJXBࠓ ਐԽதͰ͢ʂ
-FU`T044
ͦͷଞ
ϑοΫॲཧͷՃ DHSPVQIPPLT
ϝϞϦϓϨογϟʔͷݕ IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBQVMM