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
290
Entwicklungsumgebungen automatisieren
ckoppelt
0
280
Build and Development Environments with Nix and Docker
ckoppelt
0
390
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
370
Other Decks in Programming
See All in Programming
Preact、HooksとSignalsの両立 / Preact: Harmonizing Hooks and Signals
ssssota
1
1.4k
Go1.24 go vetとtestsアナライザ
kuro_kurorrr
2
840
Building Scalable Mobile Projects: Fast Builds, High Reusability and Clear Ownership
cyrilmottier
2
260
AWSで雰囲気でつくる! VRChatの写真変換ピタゴラスイッチ
anatofuz
0
140
PHPで書いたAPIをGoに書き換えてみた 〜パフォーマンス改善の可能性を探る実験レポート〜
koguuum
0
130
Firebase Dynamic Linksの代替手段を自作する / Create your own Firebase Dynamic Links alternative
kubode
0
230
Empowering Developers with HTML-Aware ERB Tooling @ RubyKaigi 2025, Matsuyama, Ehime
marcoroth
1
230
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
970
技術選定を未来に繋いで活用していく
sakito
3
100
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
2.9k
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
PHPのガベージコレクションを深掘りしよう
rinchoku
0
260
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.6k
Raft: Consensus for Rubyists
vanstee
137
6.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
Designing Experiences People Love
moore
141
24k
GitHub's CSS Performance
jonrohan
1030
460k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Statistics for Hackers
jakevdp
798
220k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
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]