~/talk

Do Not Reimplement Distributed Consensus Algorithms

Talkat Devnexus 2023 · 2023-04-04..04-06· [distributed-systems]
name:Alex B
links:none on file
name:Mykyta P
links:none on file
name:Vadym K
links:none on file
slides:none on file

Compares two-phase commit, Paxos and Raft with concrete failure scenarios, shows why two-phase commit blocks on a single coordinator, explains Paxos ballots and how majority quorum recovers progress, and shows Raft’s leader-based replication, election timeouts and term rules. Demonstrates Cassandra’s Paxos-backed lightweight transactions cost four round trips and warns not to mix LWT with normal writes; covers Mongo’s Raft settings (ack counts, journaling) and the practical trade-offs between safety, liveness and performance.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:08Speaker introductions
  3. 3:15Why consensus is hard
  4. 7:29Two-phase commit downsides
  5. 8:56Paxos overview and properties
  6. 12:51Paxos failure scenarios
  7. 17:30Paxos learners and roles
  8. 22:45Paxos leader election
  9. 23:27Paxos in Cassandra
  10. 29:53Raft introduction
  11. 35:10Raft log replication
  12. 40:10Raft leader failure handling
  13. 44:50Raft properties and guarantees
  14. 45:34Raft in MongoDB
  15. 47:19Raft configuration trade-offs
  16. 49:06Applying consensus knowledge
~/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.