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
260
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
370
Other Decks in Programming
See All in Programming
時計仕掛けのCompose
mkeeda
1
300
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
47
17k
Introduction to kotlinx.rpc
arawn
0
700
Lottieアニメーションをカスタマイズしてみた
tahia910
0
130
color-scheme: light dark; を完全に理解する
uhyo
3
360
ソフトウェアエンジニアの成長
masuda220
PRO
10
1.2k
定理証明プラットフォーム lapisla.net
abap34
1
1.8k
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
3
540
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
270
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1k
WebDriver BiDiとは何なのか
yotahada3
1
140
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
BBQ
matthewcrist
87
9.5k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
Faster Mobile Websites
deanohume
306
31k
Site-Speed That Sticks
csswizardry
4
380
Producing Creativity
orderedlist
PRO
344
39k
Speed Design
sergeychernyshev
27
790
Embracing the Ebb and Flow
colly
84
4.6k
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]