Handling duplicate events safely
A payments service consumes "order placed" events from a queue. Because the system retries on network failures, the same event is occasionally delivered more than once, and customers are being charged twice. Which design principle should the team apply so reprocessing the same event does not change the outcome?
Den här övningen är en del av kursen
Developing applications on AWS
Interaktiv övning med praktiskt arbete
Gör teori till handling med en av våra interaktiva övningar
Starta övningen