~/talk

Deep Dive: etcd

name:Jingyi Hu
links:none on file
slides:none on file

etcd uses the Raft algorithm (Go implementation) to replicate a log across a cluster so a 5-node cluster needs a quorum of 3; CockroachDB reuses etcd Raft and TiKV ported it to Rust. The raft package intentionally omits network transport and persistent storage, exposing a Ready output with committed entries that the embedding process must save, send, and apply. Code centers on a Step(state,message) state machine, a Propose->Append->Replicate->Commit lifecycle, and recent additions include learners and work toward joint membership reconfiguration.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Agenda
  3. 1:41Raft Recap
  4. 3:22The Problem
  5. 6:37Leader Election
  6. 7:51Leader Log Management
  7. 10:19Raft
  8. 13:05Design philosophy
  9. 14:34State machine
  10. 17:11Raft output
  11. 19:27KBstore
  12. 19:37Request
  13. 19:55Proposed
  14. 21:07Source code
  15. 23:15Wrap package
  16. 23:31Leaders
  17. 27:40Graph
  18. 27:52Raft Package
  19. 30:14Ongoing efforts
  20. 31:47Fun
  21. 35:14Negotiation
  22. 36:37Twitter
  23. 36:56Movement
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.