~/talk

Implementing Distributed Consensus

links:none on file
slides:none on file

A minimal educational lock service called Skinny implements a Paxos-like protocol in Go using protocol buffers and gRPC, running five replicas across continents and using monotonically increasing round IDs and per-node promised IDs. It demonstrates a working acquire/commit flow where a three-node majority out of five decides the holder, exposes timeouts, concurrent proposal/early-stop optimizations, and the bug called a ghost quorum where tight timeouts leave two slow nodes forever behind. The code runs and is purposely non-production.

AI-written summary · about

  1. 0:00Intro
  2. 1:00What is Distributed Consensus
  3. 6:41Skinny Chrome
  4. 11:48What happens when something fails
  5. 17:24Implementation
  6. 21:53Reaching Out
  7. 23:42Sequential Requests
  8. 24:19Timeouts
  9. 25:14Concurrent Requests
  10. 35:10Cancelling Global Context
  11. 36:12Ghost Program
  12. 38:04Sources
~/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.