ÎncepețiÎncepe gratuit

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?

Acest exercițiu face parte din cursul

Developing applications on AWS

Vezi cursul

Exercițiu interactiv practic

Transformă teoria în practică cu unul dintre exercițiile noastre interactive

Începe exercițiul