System Architecture
When the same message arrives twice
Every queue worth using promises at-least-once delivery, which is a polite way of saying your handler will run twice. Here is the set of patterns — idempotency keys, the outbox, dead-letter queues and sagas — that make that a non-event.
6 min read
#AWS
#SQS
#Event-Driven
#Distributed Systems