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
230
Entwicklungsumgebungen automatisieren
ckoppelt
0
280
Build and Development Environments with Nix and Docker
ckoppelt
0
380
Build and Development Environments with Nix
ckoppelt
0
420
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
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
130
バグを見つけた?それAppleに直してもらおう!
uetyo
0
180
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
5
1.2k
MCP with Cloudflare Workers
yusukebe
2
220
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
280
Recoilを剥がしている話
kirik
5
6.7k
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
Refactor your code - refactor yourself
xosofox
1
260
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
情報漏洩させないための設計
kubotak
1
130
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
220
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
40
2.4k
Agile that works and the tools we love
rasmusluckow
328
21k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Cult of Friendly URLs
andyhume
78
6.1k
Docker and Python
trallard
42
3.1k
Code Reviewing Like a Champion
maltzj
520
39k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
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]