~/talk

Reliability Nirvana

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

Argues that switching core interactions to an event bus yields automatic recovery and far smaller failure domains; demo builds an orders and notifications system using RabbitMQ (~20k msg/s) for routing, etcd for durable state and deduplication, S3 for long-term event storage, and plumber/statsd+graphite for testing and metrics. Shows idempotency via a local cache flushed to etcd so crashed services restart and catch up without replay bugs; the prototype runs, skips duplicate events, and simplifies dependencies compared with point-to-point RPC.

AI-written summary · about

  1. 0:00Introduction
  2. 3:14What are we trying to solve
  3. 5:07Event Driven
  4. 11:59Event Storage
  5. 13:47Improving Reliability
  6. 17:30Code Overview
  7. 21:32Demo
  8. 23:47Code
  9. 24:02DockerCompose
  10. 26:14Setup dependencies
  11. 27:25ConsumerFunc
  12. 28:33ProcessOrder
  13. 31:08Write an Event
  14. 32:59Automatic Recovery
  15. 34:30State
  16. 41:14Libraries
  17. 45:38Reality
  18. 48:13Go
  19. 50:50Who Should Try Event Driven
  20. 52:22Who Should Avoid Event Driven
  21. 54:32Conclusion
~/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.