Loading…
A queue hands each message to one consumer; pub/sub hands each message to every subscriber.
Holds work so the sender doesn’t wait for the doer. Each message is handled by one consumer.
Broadcasts each event to every subscriber, so producers don’t know who’s listening.
Often both: The common pattern is both: publish to a topic, and give each subscriber its own queue (SNS → SQS fan-out).