Level 2Distributed systems15 min
One retry, two charges: a payment incident
A payment succeeds, the Lambda crashes before recording it, and a retry charges the same customer again. How should the system recover safely?
AWS LambdaAmazon EventBridgeAurora PostgreSQL
Work through the scenario →