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
130
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
140
Entwicklungsumgebungen automatisieren
ckoppelt
0
280
Build and Development Environments with Nix and Docker
ckoppelt
0
360
Build and Development Environments with Nix
ckoppelt
0
400
Build und Deployment von Microservices mit GitLab CI
ckoppelt
1
290
systemd - Ein Überblick
ckoppelt
3
350
Other Decks in Programming
See All in Programming
Folding Cheat Sheet #1
philipschwarz
PRO
0
210
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
5
4.6k
Java 22 Overview
kishida
1
170
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
430
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
220
Build with AI 2024 Seoul - 제로부터 시작하는 Flutter with Gemini 생활 - 박제창
itsmedreamwalker
0
200
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
本格ローグライク制作にEbitengineを選んでみた
nagainaganawa
0
290
Semantic search with Django and pgvector
pauloxnet
0
240
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
"config" ってなんだ? / What is "config"?
okashoi
0
220
Tailwind CSSを本気でカスタマイズする方法
fsubal
2
260
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Web Components: a chance to create the future
zenorocha
305
41k
Six Lessons from altMBA
skipperchong
20
3k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
How to train your dragon (web standard)
notwaldorf
72
5.1k
Gamification - CAS2011
davidbonilla
76
4.6k
Scaling GitHub
holman
457
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
24
2.3k
What's new in Ruby 2.0
geeforr
337
31k
Designing the Hi-DPI Web
ddemaree
276
33k
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]