Publish-Subscribe Messaging Using Amazon SQS

Amazon’s Simple Queue Service (SQS) provides durable messaging guarantees and is an excellent backbone for messaging services. However, SQS does not support “fan-out” of messages so that multiple consuming services can each receive a copy of a message. This means that true publish-subscribe messaging requires some additional work. This post describes some architectural choices that provide durable publish-subscribe messaging using SQS by tracking messaging subscribers using a database, and matching published messages to interested subscribers. [Read More]

Comparing Kinesis and SQS

Amazon Kinesis has a feature set that makes it tempting to use for a variety of applications. However, it is really designed for a particular set of use cases, and those use cases must be carefully considered before adopting Kinesis. In this article, we compare Kinesis with Amazon’s Simple Queue Service (SQS), showing the benefits and drawbacks of each system, and comparing their ideal uses. Kinesis - Streaming Data Kinesis’ primary use case is collecting, storing and processing real-time continuous data streams. [Read More]

0 to Message in 60 Seconds: Getting Started with Amazon SQS

Amazon Simple Queue Service (SQS) is a message queue service that allows applications to reliably queue messages from one system component to be consumed by another component. Adding a queue between application components allows them to run independently, effectively decoupling applications by providing a buffer between producers of data and their consumers. Up and Running This section provides a guide to getting up and running with SQS using a fictional music store as an example. [Read More]