SQS vs SNS vs EventBridge: Which One Should You Use?
SQS queues work for one consumer, SNS broadcasts to many subscribers, and EventBridge routes events by their content.
All three move messages between parts of your app, which is why they're easy to mix up. The difference is what happens to a message after you send it.
SQS is a kitchen ticket rail: each order is picked up by one cook. SNS is a megaphone: everyone listening hears the announcement at once. EventBridge is a mailroom: it reads each envelope and delivers it to whoever the rules say should get it.
Side-by-side
| SQS | SNS | EventBridge | |
|---|---|---|---|
| Model | Queue (pull) | Pub/sub (push) | Event bus with rules (push) |
| Who gets a message | One consumer processes it | Every subscriber gets a copy | Every target whose rule matches |
| Stores messages | Yes, up to 14 days | No, delivers immediately | Optional archive and replay |
| Filtering | No (consumers get everything) | Filter policies per subscription | Rich content-based patterns |
| Receives AWS service events | No | No | Yes, automatically |
| Scheduling | Delay up to 15 minutes | No | Yes (EventBridge Scheduler) |
| Typical use | Background jobs, buffering spikes | Notifications, fan-out | Decoupled microservices, reacting to AWS events |
Choose SQS when…
- Work must be done exactly by one worker, at its own pace: resizing images, sending emails, calling a rate-limited API.
- You need to absorb traffic spikes without dropping anything.
- You want retries and a dead-letter queue for failed jobs.
Learn more: What is SQS? and Lambda consumers & DLQs.
Choose SNS when…
- One event needs to reach many destinations at once: email, SMS, mobile push, several queues.
- You're sending notifications to people.
Learn more: What is SNS? and Fan-out & filtering.
Choose EventBridge when…
- You want to react to AWS service events (an EC2 instance stopped, a file landed in S3) or SaaS events.
- Different consumers care about different subsets of events, based on their content.
- You need schedules ("every weekday at 9 a.m.").
Learn more: What is EventBridge? and Rules & patterns.
They work best together
These aren't mutually exclusive. A very common, reliable pattern:
EventBridge rule → SNS topic → several SQS queues → Lambda consumers
EventBridge decides which events matter, SNS fans them out, and each SQS queue lets its consumer work at its own pace with retries.
Unsure? Ask "is this a job to do or a fact that happened?" Jobs go in a queue (SQS). Facts get published (SNS or EventBridge).
Key takeaways
- SQS: one consumer per message, stored until processed, ideal for background jobs.
- SNS: instant fan-out to many subscribers, ideal for notifications.
- EventBridge: content-based routing, AWS service events, and schedules.