~/talk

How Raft consensus algorithm will make replication even better in MongoDB 3 2

Talkat HighLoad++ 2015 · 2015-11-02..11-03· [distributed-systems, databases]
links:none on file
slides:none on file

MongoDB 3.2 retrofits three Raft-inspired changes to make leader-based replication measurable and faster: it adds a raft election term (new T field plus recycled TS counter) so elections are distinct instead of waiting 30+ seconds, it collapses heartbeats into the replication stream so heartbeat via replication reduces false detects and scales with chained topologies, and it exposes a configurable election timeout with jitter to minimize ties — release candidate is available and these changes shorten failover and fix corner cases.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30MongoDB replication
  3. 2:00Agenda
  4. 2:35Why do we need replication
  5. 4:00Performance
  6. 5:50Consensus
  7. 8:40What is consensus
  8. 9:15Leaderbased consensus
  9. 10:45MongoDB leaderbased consensus
  10. 13:25MongoDB splitbrain
  11. 18:55Why we did this
  12. 19:35Raft
  13. 28:00MongoDB Uplog
  14. 30:40Raft Election Term
  15. 32:50Raft Heartbeat
  16. 36:25Chained Replication
  17. 38:00Election Timeout
~/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.