~/talk

Implementing Distributed Consensus

Talkat SREcon19 Asia/Pacific · on Thursday, 2019-06-13· at 09:00· Track 3: Room 334–336· [distributed-systems]
links:none on file
slides:none on file

An educational Paxos implementation called Skinny is built in Go using protocol buffers and gRPC to expose promise and commit RPCs; a five-node quorum simplifies examples and reproduces failures. The code implements proposer/acceptor/learner roles in one process, persists promised/run/holder state, and recovers from nodes that lose state. Practical surprises: global latency makes tight timeouts drop a quorum (the “ghost chrome” effect), concurrent RPCs need context cancellation, backoff and careful channel synchronization to avoid deadlocks.

AI-written summary · about

  1. 0:00Intro
  2. 0:33What?
  3. 1:33Protocols
  4. 2:37Paxos Roles
  5. 7:22Coalesced Roles with Leader
  6. 7:49Coalesced Roles at Scale
  7. 9:11Limitations
  8. 12:36Assuming a wide quorum
  9. 23:25Lock API
  10. 24:10Consensus API
  11. 24:54Control API
  12. 25:42Skinny Instance
  13. 26:11Propose Function
  14. 27:14Resulting Behavior
  15. 28:14Improvement #1
  16. 28:37Timeouts
  17. 29:23Improvement #2
  18. 30:03Concurrency
  19. 33:38What's wrong?
  20. 34:26Solution: More synchronizing
  21. 37:43Early Stopping (3)
  22. 40:35Ghost Quorum
  23. 43:01The Fix
  24. 43:23Further Reading
  25. 45:46Try, Play, Learn!
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.