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
etcd & Raft
Search
Christine Koppelt
December 03, 2014
Programming
0
150
etcd & Raft
Christine Koppelt
December 03, 2014
Tweet
Share
More Decks by Christine Koppelt
See All by Christine Koppelt
Was sind eigentlich Regression, Clustering und Classification?
ckoppelt
0
350
Entwicklungsumgebungen automatisieren
ckoppelt
0
300
Build and Development Environments with Nix and Docker
ckoppelt
0
420
Build and Development Environments with Nix
ckoppelt
0
450
Build und Deployment von Microservices mit GitLab CI
ckoppelt
1
330
systemd - Ein Überblick
ckoppelt
3
400
Other Decks in Programming
See All in Programming
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
290
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
230
CSC307 Lecture 11
javiergs
PRO
0
590
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
330
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
320
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
520
SourceGeneratorのマーカー属性問題について
htkym
0
140
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
270
CSC307 Lecture 14
javiergs
PRO
0
450
atmaCup #23でAIコーディングを活用した話
ml_bear
4
740
Fundamentals of Software Engineering In the Age of AI
therealdanvega
0
110
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
380
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
67
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Everyday Curiosity
cassininazir
0
150
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
The Cult of Friendly URLs
andyhume
79
6.8k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
Color Theory Basics | Prateek | Gurzu
gurzu
0
220
Transcript
etcd and Raft Christine Koppelt 3. December 2014
CoreOS Source: https://coreos.com (modified)
etcd etcd core-host4 core-host3 core-host2 core-host5 core-host1 Source: https://coreos.com/
etcd Cluster etcd etcd etcd etcd etcd Leader Follower etcd
etcd
Client Interaction curl L http://127.0.0.1:4001/v2/keys/x XPUT d value="7" { "action":
"set", "node": { "createdIndex": 2, "key": "/x", "modifiedIndex": 2, "value": "7" }, "prevNode": { "createdIndex": 1, "key": "/x", "value": "0", "modifiedIndex": 1 } }
Writing an entry‒ Part 1
Writing an entry‒ Part 2
Log compaction & Snapshots Source: https://ramcloud.stanford.edu/raft.pdf (modified)
Follower Crash etcd etcd etcd etcd etcd Leader Follower etcd
etcd
Leader Crash & Leader election etcd etcd etcd etcd etcd
new Leader Follower etcd etcd
Questions? @ckoppelt
[email protected]