AWS Cloud
AWS Cloud
Get started with Amazon Simple Queue Service (SQS)

In modern cloud architecture, applications are decoupled into smaller, independent building blocks that are easier to develop, deploy and maintain.

Message queues provide communication and coordination for these distributed applications. Message queues can significantly simplify coding of decoupled applications, while improving performance, reliability and scalability.

Below are several resources to help you better understand message queues in the broad sense. To learn about message queues on AWS, visit our Amazon Simple Queue Service (SQS) website.

messaging_video-thumb_decouple-and-scale_2017-06
33:27
Watch our Webinar to Understand the Role and Components of Messaging in Application Design

Message queues allow different parts of a system to communicate and process operations asynchronously. A message queue provides a lightweight buffer which temporarily stores messages, and endpoints that allow software components to connect to the queue in order to send and receive messages. The messages are usually small, and can be things like requests, replies, error messages, or just plain information. To send a message, a component called a producer adds a message to the queue. The message is stored on the queue until another component called a consumer retrieves the message and does something with it.

SQS_img_queue

Many producers and consumers can use the queue, but each message is processed only once, by a single consumer. For this reason, this messaging pattern is often called one-to-one, or point-to-point, communications. When a message needs to be processed by more than one consumer, message queues can be combined with Pub/Sub messaging in a fanout design pattern. See "What is Pub/Sub messaging?" for details, and visit our Amazon Simple Notification Service (SNS) website for an overview of Pub/Sub messaging on AWS.

Get started for free with just three simple commands.

Get Started for Free