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
140
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
210
Entwicklungsumgebungen automatisieren
ckoppelt
0
280
Build and Development Environments with Nix and Docker
ckoppelt
0
370
Build and Development Environments with Nix
ckoppelt
0
410
Build und Deployment von Microservices mit GitLab CI
ckoppelt
1
300
systemd - Ein Überblick
ckoppelt
3
360
Other Decks in Programming
See All in Programming
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
170
Some more adventure of Happy Eyeballs
coe401_
2
190
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
140
The Shape of a Service Object
inem
0
530
ドメイン駆動設計を実践するために必要なもの
bikisuke
4
330
私のEbitengineの第一歩
qt_luigi
0
450
rails_girls_is_my_gate_to_join_the_ruby_commuinty
maimux2x
0
200
エラーレスポンス設計から考える、0→1開発におけるGraphQLへの向き合い方
bicstone
5
1.5k
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
160
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
400
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
510
Jakarta EE meets AI
ivargrimstad
0
390
Featured
See All Featured
Side Projects
sachag
451
42k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
Typedesign – Prime Four
hannesfritz
39
2.3k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
Building an army of robots
kneath
302
42k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
Atom: Resistance is Futile
akmur
261
25k
How to Think Like a Performance Engineer
csswizardry
16
960
Clear Off the Table
cherdarchuk
91
320k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
GitHub's CSS Performance
jonrohan
1030
450k
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]