CommencerCommencez gratuitement

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?

Cet exercice fait partie du cours

<cours>Developing applications on AWS</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice