- Published on
The hard part nobody warns you about. Once you go asynchronous and at-least-once, duplicates, retries, partial failures, and the dual-write problem all become your problem. The toolkit: idempotency as the foundation, retries with dead-letter queues, the outbox pattern for atomic publish, and sagas for multi-step flows like payment. Where a bank and a food app draw the line differently.