SD-18 · GUIDED WORKSHEET
Coordinate changes without pretending atomicity
Design a recoverable order-to-payment workflow.
Read. Try. Defend.
Companion to the Buildfest System Design guides.
Your practice brief
- Draw the order transaction, outbox relay and payment handler.
- Mark every duplicate-delivery window and its deduplication boundary.
- Specify timeout, failure, compensation and operator-reconciliation states.
Your response stays in this tab. Download it before leaving. This self-guided worksheet is not graded or saved to your account.
Reveal reasoning after attempting
The outbox closes the local dual-write gap but does not give global exactly-once business behavior. Clear operation identities, state transitions and recovery paths matter more than naming a messaging pattern. Multiple valid workflows can satisfy the same invariant.
Other approaches can be valid. Check your assumptions, correctness, failure handling and trade-offs.
