Interview questions
Idempotency, retries & failure handlingMediumSDE-2

You have built idempotency keys for your 'create order' API. Two requests with the same key arrive 5 milliseconds apart on two different servers. Walk me through exactly what happens.

Asked at
AmazonFlipkartRazorpayStripe

Think first

Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.

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.

Start free