Table of Contents
What are Amazon MQ and SQS?
Amazon MQ is Amazon Web Services (AWS) Message Queuing while SQS is Amazon Simple Queue Service. These services provide a way to communicate with other applications, components and systems. They can also be used to implement a reliable message-driven architecture that is a core part of Amazon Web Services.
The services provide an efficient way to process and deliver messages in the cloud by decoupling the application from its dependencies on external systems. This article provides a brief overview of what the services are and how to use them. It also looks at how they can be implemented in AWS, Azure, and Google Cloud Platform.
##
Why should you use Amazon MQ and SQS?
Amazon MQ and SQS are two of many different messaging services that you can use with AWS. Message queues provide a long-term storage for your application. They allow your program to treat messages as data structures, allowing for easy filtering and re-sending of messages. These services are scalable and inexpensive, although they will require additional resources to maintain a high rate of throughput. They are a great way to decouple the client application from the external system it communicates with and make it manageable by a separate, scalable queueing service. This decoupling allows for timely and reliable communication between your application and other applications.
##
How are Amazon MQ and SQS different?
When should you use Amazon MQ vs SQS for your applications and services?
Amazon SQS has been designed to be used with any application that allows sending messages from one process to another, such as a utility or mobile application. MQ is more commonly known as an asynchronous queuing service. The queue message are stored in the queue and you don’t have any control on when a message is processed. Amazon MQ is also known as an asynchronous queuing service. The simple message format allows for shorter messages that can be processed faster and easier than a traditional Inter Process Communication (IPC) mechanism. Amazon SQS is also a queue, but it allows the ability to take action when a message has been received. Amazon MQ and Amazon SQS both allow you to send and receive messages, but SQS also allows you to take action on the messages as they are received. MQ is more commonly known as an asynchronous queuing service.
Amazon SQS has been designed to be used with any application that allows sending messages from one process to another, such as a mobile or utility application. SQS queues allow you to define the number of messages that can be stored in your queue and the amount of time before Amazon SQS deletes messages from a queue if the storage limit is met. On the other hand, with MQ, you have no control over when a message is processed. MQ has a simple message format that allows for shorter messages that can be processed faster and easier than a traditional Inter Process Communication (IPC) mechanism. Amazon MQ is also known as an asynchronous queuing service.

How much do they cost to use, and what are the pricing models for each service?”
Amazon Web Services is a dynamic, growing business with multiple price tiers to fit your application. The price of using Amazon MQ or Amazon SQS is $1 per million messages. You can use the services in three basic ways: standard, prioritized and FIFO queues. A standard queue is a queue where messages are delivered as fast as possible to your application. With a standard queue, you don’t need to pay for priority or FIFO queues. The priority queue allows messages to be delivered in the order they are received from Amazon MTQ. The FIFO queues guarantee that data is sent to the queue in the order it was received. The other pricing models allow for an additional payments or discounts for certain use cases and capacities. You can also create a custom price tier by creating a custom rate plan and applying it to your application.” https://developer.amazonwebservices.com/d/blog/post.cfm?id=17332&OwnerID=708505
Note that there are three pricing models: “standard, prioritized and FIFO queues.” http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide /index.html?QueueDependency.html
Summary:
Message delivery via Amazon SQS and Amazon MQ is priced on the number of messages that are delivered per month. There are three ways messages can be sent to a queue, standard, priority and FIFO queues.” https://aws.amazon.com/sqs
Details:

What are some common use cases for Amazon MQ and SQS?”
Amazon SQS offers a high level of fault tolerance and resilience against the failure of your application. Amazon S Q S offers two types of queues: standard and priority. These queues allow you to be notified when messages are received. The general use cases for Amazon MQ are: Queuing for a process that doesn’t have access to an external queue (such as in a web service) Queuing for a process that requires fan-out or fan-in of data Queuing for a process that terminates (doesn’t run) after sending messages Queuing for a process that doesn’t log the messages Queuing for a long-running process (Amazon MQ is great for batch processing)
Amazon SQS can be used to build a job queue. You submit jobs and then have the flexibility to do something else while waiting on one or more of those jobs to complete. You can use Amazon SQS with other Amazon services, or with custom software. You can use Amazon SQS with some of the same general scenarios we describe for Amazon MQ.
