This website uses cookies to ensure you get the best experience.
Learn more.
A serverless application uses a standard queue. After a timeout, a message is processed twice and creates duplicate downstream records. Which change is most robust?
Published
- Delete messages before processing to prevent repeats.
- Make the consumer side effect idempotent using a stable business identifier and conditional state.
- Give each retry a new business identifier.
- Assume extending visibility timeout guarantees exactly one side effect forever.
Comments — 0
Sign in to comment