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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
290
Build and Development Environments with Nix and Docker
ckoppelt
0
410
Build and Development Environments with Nix
ckoppelt
0
440
Build und Deployment von Microservices mit GitLab CI
ckoppelt
1
330
systemd - Ein Überblick
ckoppelt
3
390
Other Decks in Programming
See All in Programming
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
CSC307 Lecture 02
javiergs
PRO
1
780
AI & Enginnering
codelynx
0
110
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
CSC307 Lecture 04
javiergs
PRO
0
660
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 06
javiergs
PRO
0
680
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
A Modern Web Designer's Workflow
chriscoyier
698
190k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
How GitHub (no longer) Works
holman
316
140k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
340
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
WENDY [Excerpt]
tessaabrams
9
36k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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]