~/talk

Using CRDTs to Build a Highly Available Decentralized Service

Talkat GopherCon 2021 · 2021-12-05..12-08· [distributed-systems, web3]
slides:none on file

Bread implements a highly available decentralized service in Go that uses CRDTs, a gossip layer and sidecar deployment to let any replica answer reads and converge asynchronously. Concrete implementations include state-based vs operation-based CRDTs, a PN-counter (increments/decrements via two vectors) and an OR-like set with timestamps to let adds win concurrent removes. A memberlist-style gossip transports deltas; tests focus on merge functions, clocks (vector+logical), and small clusters (three replicas) to validate convergence.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Outline
  3. 1:52Consistency
  4. 4:49Conflictfree replicated data types
  5. 6:55Statebased vs operationbased
  6. 10:33Replicas
  7. 14:17Counters
  8. 21:35PM Counter
  9. 29:01Advantages Disadvantages
  10. 30:02Operation Based
  11. 31:55Clock
  12. 38:15Contextual Series
  13. 40:05Conclusion
  14. 41:29Delivery
  15. 42:36Miscellaneous
  16. 45:40Integration Testing
  17. 47:34Conclusions
~/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.