Designing Idempotent Asynchronous Pipelines: Transactional Outbox & Retry Budgets
Why naive 'write to database, then publish to queue' fails in production, how the Transactional Outbox pattern closes the dual-write gap, and how to design consumers that survive duplicate deliveries gracefully.