~/talk

Fixing Distributed Systems Fail

Talkat Build Stuff 2022 · 2022-11-09..11-11· [distributed-systems]
slides:none on file

Six lines of checkout code call the database, Stripe, SendGrid and RabbitMQ inside one transaction and produce real failures: customers get charged but no order record, no email, or downstream systems see “order not found.” Fixes include using Stripe’s idempotency key or two‑step authorize/capture, compensating with Stripe refunds, moving publishes to an outbox pattern, using Stripe webhooks to trigger emails, and replacing inline calls with a process manager that orchestrates payments then choreographs notifications. With two weeks, the team implements refunds + ignoring email/RabbitMQ failures.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:05The fragile transaction
  3. 5:23Analyzing potential failures
  4. 11:48Strategies for distributed systems
  5. 19:18Applying patterns to services
  6. 35:15Designing resilient architecture
~/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.