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
Getting Started to CRIU
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
@ジュジュ
March 07, 2019
Technology
0
140
Getting Started to CRIU
@ジュジュ
March 07, 2019
Tweet
Share
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
170
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.2k
Firecracker Snapshottingを調べてみた
juju62q
1
610
SLOを活用した技術的改善
juju62q
10
11k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.6k
telepresence handson
juju62q
2
5.3k
Wanna Use Vitess in Orientation
juju62q
6
1.4k
machine learning with rancher and K8s on prem
juju62q
5
460
docker-handson-for-researcher
juju62q
3
330
Other Decks in Technology
See All in Technology
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
The Engineer with a Three-Year Cycle - 2
e99h2121
0
200
GCASアップデート(202510-202601)
techniczna
0
200
今日から始めるAmazon Bedrock AgentCore
har1101
3
110
Tebiki Engineering Team Deck
tebiki
0
23k
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
290
JuliaTokaiとしてはこれが最後かもしれない(仮) for NGK2026S
antimon2
0
130
AI開発をスケールさせるデータ中心の仕組みづくり
kzykmyzw
0
180
MySQLのJSON機能の活用術
ikomachi226
0
120
セキュリティ はじめの一歩
nikinusu
0
1.2k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.4k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
The SEO Collaboration Effect
kristinabergwall1
0
340
Odyssey Design
rkendrick25
PRO
1
480
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
340
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
59
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
920
Building the Perfect Custom Keyboard
takai
2
680
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Google's AI Overviews - The New Search
badams
0
900
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
Transcript
CRIUで遊んでみた 2019/03/07 OthloTechLT大会@クックパッド 岡野兼也
$ whoami name: - 岡野兼也 - @ジュジュ belonging: - 名古屋大学
interest: - CloudNative - SRE dream: - 働かないこと hobbies: - 登山 - キャンプ
CRIU - Checkpoint and Restore In Userspaceの略称 - Linuxのアプリケーションの実行状態を Checkpointとして固めてRestoreできる
CRIUを使うとアプリが動いている状態の コンテナを走らせることができる!
Checkpoint $ docker checkpoint create ${container_name} ${checkpoint_name} - コンテナの今の状態を保存する -
作ったチェックポイントに基づいてリストアできる
Restore $ docker container start --checkpoint ${checkpoint_name} ${container_name} - チェックポイントから再実行をする
- 何回でも同じチェックポイントから実行可能
実際につかってみる
もう一回リストアする!
解決できる問題① コンテナの起動がいくら早くても アプリの起動が遅ければ遅くなってしまう 初めからからアプリの状態を 記憶できているので爆速起動!!
解決できる問題② k8sがいくらうまいことやっているといっても ノードメンテのために落とすと影響あるよね… ファイルとして状態を持てるので ライブマイグレーションができる!!
ご清聴ありがとうございました ※CRIUはDockerのexperimentalな機能で、デフォルトでは使えません