~/talk

The impossibility of delivering a message once, and only once

Talkat UtahJS Conf 2022 · on Friday, 2022-09-23· [distributed-systems]
slides:none on file

Argues that exactly-once delivery is mathematically impossible and systems must pick between at-least-once or at-most-once. Demonstrates via carrier-pigeon and HTTP/WebSocket examples how retries cause duplicates or drops at scale, cites Kafka’s claim and YouTube-style rendering load. Recommends a practical fix: write events into the local database and run a relay that publishes them to the message broker — the transactional outbox pattern preserves DB atomicity while accepting duplicates or drops.

AI-written summary · about

  1. 0:00Introduction with personal story
  2. 1:52Carrier pigeons analogy
  3. 5:26At most once vs at least once delivery
  4. 7:36Background processing with message brokers
  5. 10:06Server crashes and retries
  6. 11:10Handling background processing
  7. 12:36Choosing delivery guarantees
  8. 14:44Websockets and delivery guarantees
  9. 15:07Sending messages to brokers
  10. 17:35Transactional outbox pattern
  11. 18:57Key takeaways and Q&A
~/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.