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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Christine Koppelt
December 03, 2014
Programming
160
0
Share
etcd & Raft
Christine Koppelt
December 03, 2014
More Decks by Christine Koppelt
See All by Christine Koppelt
Was sind eigentlich Regression, Clustering und Classification?
ckoppelt
0
360
Entwicklungsumgebungen automatisieren
ckoppelt
0
300
Build and Development Environments with Nix and Docker
ckoppelt
0
430
Build and Development Environments with Nix
ckoppelt
0
460
Build und Deployment von Microservices mit GitLab CI
ckoppelt
1
330
systemd - Ein Überblick
ckoppelt
3
400
Other Decks in Programming
See All in Programming
Running Swift without an OS
kishikawakatsumi
0
730
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
520
PHPで TLSのプロトコルを実装してみる
higaki_program
0
750
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
400
AI活用のコスパを最大化する方法
ochtum
0
380
Don't Prompt Harder, Structure Better
kitasuke
0
650
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
340
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
260
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
810
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
560
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
A Tale of Four Properties
chriscoyier
163
24k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
310
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
Making Projects Easy
brettharned
120
6.6k
How to Talk to Developers About Accessibility
jct
2
170
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
240
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]