Interview questionsStart free
Idempotency, retries & failure handlingHardSDE-3
Placing an order reserves inventory, charges the customer, and books a delivery slot, each in a different service. The delivery booking fails after payment succeeded. How do you design this so the system ends up consistent?
Asked at
AmazonFlipkartSwiggyZepto
Think first
Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.
Go deeper
Saved on this device. Create a free account to keep it on every device.
Practise this with Sam
A real mock interview, out loud, with an honest scorecard. Free to start.