Interview questionsStart free
Idempotency, retries & failure handlingHardSDE-3
In a wallet app, user A sends Rs 500 to user B. The wallets are in different database shards. The service crashes after debiting A and before crediting B. How do you design the transfer so money is never lost or created?
Asked at
CREDGrowwPaytmPhonePe
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.