Amazon Simple Queue Service
Application Integration · Learn this early
A waiting line for tasks.
Picture it as
A ticket counter. Work is dropped in the queue and picked up when someone is free.
What it actually does
SQS holds messages until a worker takes them. If the worker crashes the message comes back. It protects you from traffic spikes. Standard queues can deliver a message twice, so your worker must handle that.
Reach for it when
- Slow work that should not block the user
- Absorbing spikes
- Separating parts of a system
Do not reach for it when
- You need an instant answer back to the user.
One small example
Order placed, a message goes in the queue, invoices are generated in the background.
How you pay
Per million requests. Very cheap.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.