SD-23 · GUIDED WORKSHEET
Defend an order system under failure
Build a defensible checkout design using a fake payment provider.
Read. Try. Defend.
Companion to the Buildfest System Design guides.
Your practice brief
- Specify inventory and charging invariants plus allowed state transitions.
- Simulate duplicate requests, reordered callbacks and a crash between commit and reply.
- Prepare a five-minute defense: requirements, calculation, architecture, failure handling and the next measurement you would run.
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
Correct outcomes depend on stable operation identity, atomic local changes, authenticated provider events and reconciliation. A good submission proves one order and one intended charge under repeated delivery, while acknowledging external uncertainty. No real payment is needed for this exercise.
Other approaches can be valid. Check your assumptions, correctness, failure handling and trade-offs.
