The mental model
SQS buffers messages for consumers that process and acknowledge work. SNS distributes published notifications to subscribers. Combining them can give independent consumers their own queues. This decouples production from processing speed, but a queue can also hide a growing backlog if no one measures message age and processing success.
Standard SQS delivery can produce duplicates and out-of-order messages. Set a visibility timeout that fits processing, make consumers idempotent, and route repeatedly failing messages to a dead-letter queue with a review plan. FIFO features have specific ordering and deduplication semantics; they do not make arbitrary downstream business side effects exactly once.
Decisions to make
- Use a queue when a consumer needs durable buffering and independent processing capacity.
- Treat duplicates and poison messages as normal design cases, not rare surprises.
Design exercise · no AWS resources needed
Work through a scenario
An image worker receives the same job twice and sometimes crashes.
- Choose a durable job identifier for duplicate detection.
- Explain what happens when visibility expires before acknowledgment.
- Define who investigates messages in the dead-letter queue.
Check your understanding
What should a standard SQS consumer assume?
Choose an answer to see the reasoning.
Continue with AWS documentation
Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.