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
250
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
Amazon Nova Reelの可能性
hideg
0
200
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
950
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.4k
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
190
Androidアプリの One Experience リリース
nein37
0
1.2k
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
Beyond ORM
77web
11
1.6k
Rubyでつくるパケットキャプチャツール
ydah
0
180
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
34
1.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Building Adaptive Systems
keathley
38
2.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
For a Future-Friendly Web
brad_frost
176
9.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Scaling GitHub
holman
459
140k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Bash Introduction
62gerente
610
210k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
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]