~/talk

Practical Raft Consensus

Talkat DevDays Europe 2022 · 2022-04-27..04-28· [microservices, databases]
slides:none on file

Claims that Raft makes consensus simpler than Paxos and demonstrates a runnable design: a single leader accepts client commands, appends them to a durable log (optional BoltDB persistence), broadcasts AppendEntries RPC heartbeats and entries, and commits once a majority acknowledge. Elections use a randomized election timeout and incrementing terms; followers forward client requests and leaders resolve diverging state by decrementing prevIndex so the leader overwrites mismatches and brings nodes up to date.

AI-written summary · about

  1. 0:00Raft consensus intro
  2. 2:31What is Raft consensus
  3. 6:20Leader election role
  4. 9:24Terms and timeouts
  5. 13:18Randomized election timeouts
  6. 16:51Log replication checks
  7. 18:39Raft implementation code
  8. 23:36State persistence
  9. 27:07Heartbeat and leader duties
  10. 30:42Handling vote requests
  11. 33:13Transitioning to leader
  12. 34:58Forwarding client requests
  13. 36:20Broadcasting logs and heartbeats
  14. 38:27Processing log responses
  15. 39:50Committing logs and logic
~/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.