Why it matters
SQS is AWS event-driven default. Understanding shapes decoupled architectures.
Advertisement
The architecture
Producer sends. Consumer polls. Visibility timeout hides message during processing. Delete when done.
Advertisement
How it works end to end
Standard: high throughput, at-least-once delivery, best-effort ordering.
FIFO: exactly-once via deduplication ID; ordered per message group; ~3000 msg/s per group.
Dead-letter queue: messages that fail N times route there.
Long polling: reduces empty poll cost.