Amazon SQS is a simple queue system that allows you to decouple and integrate distributed systems and their components. It is a branded version of a Message Queue. They offer common constructs such as Dead Letter Queues (DLQs)
These message queues main strength lies in their durability. For the most part, most amazon SQS systems have a single subscriber/consumer and messages within the queue are guaranteed to be delivered from the subscriber to the consumer.
| AWS Service | Ideal Use-Cases |
|---|---|
| AWS SNS | Ideal for scenarios requiring immediate notifications, such as real-time user engagement or alarm systems. To prevent message loss when subscribers are offline, integrating Amazon SNS with Amazon SQS queue messages ensures consistent delivery. |
| AWS SQS | Ideal for workflows where order and loss prevention are critical. |
| The real value proposition is when both of these services are used together to provide fan-out event-driven messaging with durability. |
Suggested Readings
Linked Map of Contexts