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
130
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.3k
Ruby x BPF in Action / RubyKaigi 2022
udzura
0
190
Narrative of Ruby & Rust
udzura
0
170
開発者生産性指標の可視化 / pepabo-four-keys
udzura
3
1.6k
Talk of RBS
udzura
0
390
Re: みなさん最近どうですか? / FGN tech meetup in 2021
udzura
0
710
Dockerとやわらかい仮想化 - ProSec-IT/SECKUN 2021 edition -
udzura
2
670
Device access filtering in cgroup v2
udzura
1
770
"Story of Rucy" on RubyKaigi takeout 2021
udzura
0
720
Other Decks in Technology
See All in Technology
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Mastering Quickfix
daisuzu
1
250
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
650
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
120
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
270
日経電子版のStoreKit2フルリニューアル
shimastripe
1
150
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
780
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
230
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
13k
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
7
690
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
SDN の Hype Cycle を一通り経験してみて思うこと / Going through the Hype Cycle of SDN
mshindo
1
160
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Building Applications with DynamoDB
mza
90
6.1k
Agile that works and the tools we love
rasmusluckow
327
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
4 Signs Your Business is Dying
shpigford
180
21k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
GitHub's CSS Performance
jonrohan
1030
460k
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