~/talk

Exactly-once: the holy grail of distributed systems

Talkat dotnetdays 2024 · 2024-04-18..04-20· [distributed-systems]
slides:none on file

Argues that end-to-end exactly-once is practical by replacing forever-growing outbox state with a bounded token store plus protocol-driven cooperation; demonstrates tradeoffs between the industry-standard outbox pattern (uses RabbitMQ/Azure Service Bus/SQS, AMQP semantics) and token-based/transactional-session approaches, plus a state-based (fries) dedup trick. Shows MSMQ behavior and AMQP’s two-sided confirmations as inspiration, reports 15 years of no observed MSMQ duplicates, and explains the implemented result: more IO and tighter coupling but bounded storage and reliable deduplication across HTTP and messaging.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:06System design basics
  3. 5:59Fallacies of computing
  4. 8:07Core domain and boundaries
  5. 11:19Messaging infrastructure
  6. 14:22The outbox pattern
  7. 19:32Outbox limitations
  8. 22:25MSMQ and reliability
  9. 23:45Exactly-once mechanics
  10. 26:44The fries pattern
  11. 28:00Revisiting the outbox
  12. 31:21Untangling concerns
  13. 33:05Message life cycles
  14. 35:53Token-based approach
  15. 37:06Protocol coordination
  16. 38:14Token implementation
  17. 40:26Failure modes
  18. 40:55User interface interactions
  19. 45:05Transactional session pattern
  20. 49:31Tombstones explained
  21. 49:44API third-party contracts
  22. 50:58Refining API integrations
  23. 57:09Conclusion and outlook
~/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.