Need advice about which tool to choose?Ask the StackShare community!

Amazon SQS

2.2K
2K
+ 1
171
IBM MQ

115
187
+ 1
11
Add tool

Amazon SQS vs IBM MQ: What are the differences?

Introduction

In this markdown, we will discuss the key differences between Amazon Simple Queue Service (Amazon SQS) and IBM MQ. Both Amazon SQS and IBM MQ are messaging systems that enable applications to communicate and send messages asynchronously. However, there are several key differences between the two solutions.

  1. Deployment Model: Amazon SQS is a fully managed service and is delivered as a cloud-based solution. It handles all aspects of infrastructure management, including scaling, monitoring, and maintenance. On the other hand, IBM MQ is a traditional on-premises messaging system that requires installation and configuration on the customer's infrastructure.

  2. Messaging Protocols: Amazon SQS primarily supports the HTTP/HTTPS protocol for sending and receiving messages. It also provides an integration with the Amazon Simple Notification Service (SNS), enabling push-based message delivery. In contrast, IBM MQ supports multiple messaging protocols such as TCP/IP, HTTP, and WebSphere MQ. These protocol options provide flexibility in integrating with various types of applications and environments.

  3. Message Persistence: In Amazon SQS, messages are stored redundantly across multiple availability zones to ensure durability. However, Amazon SQS is eventually consistent, meaning there might be a slight delay in receiving messages. IBM MQ, on the other hand, ensures message persistence through message logging and transactional support, making it suitable for applications that require strict delivery guarantees.

  4. Message Ordering: Amazon SQS guarantees at-least-once delivery of messages but does not inherently provide strict ordering of messages. It supports message grouping, where related messages can be grouped together, but the order within the group is not preserved. IBM MQ, however, provides built-in support for ordered message delivery, ensuring that messages are processed in the order they were sent.

  5. Message Size Limit: Amazon SQS has a maximum message size limit of 256KB for standard queues and 2GB for FIFO queues. It allows larger messages to be stored in Amazon Simple Storage Service (S3) and references them in the message. On the other hand, IBM MQ has a configurable maximum message size, allowing larger messages to be handled within the messaging system itself.

  6. Scalability and Elasticity: Amazon SQS is built for high scalability and elasticity, automatically handling the scaling of resources based on the workload. It can handle a large number of concurrent requests and offers virtually unlimited message queues. In contrast, IBM MQ requires manual scaling and configuration of resources to handle increased workloads, making it less suitable for rapid scaling and dynamic environments.

In summary, Amazon SQS is a cloud-based, fully managed messaging service that provides ease of use, scalability, and integration with other AWS services. IBM MQ, on the other hand, is a traditional on-premises messaging system with support for multiple protocols, strict message ordering, and granular control over message persistence. The choice between the two solutions depends on factors such as deployment preferences, messaging requirements, and scalability needs.

Advice on Amazon SQS and IBM MQ
MITHIRIDI PRASANTH
Software Engineer at LightMetrics · | 4 upvotes · 289.8K views
Needs advice
on
Amazon MQAmazon MQ
and
Amazon SQSAmazon SQS
in

I want to schedule a message. Amazon SQS provides a delay of 15 minutes, but I want it in some hours.

Example: Let's say a Message1 is consumed by a consumer A but somehow it failed inside the consumer. I would want to put it in a queue and retry after 4hrs. Can I do this in Amazon MQ? I have seen in some Amazon MQ videos saying scheduling messages can be done. But, I'm not sure how.

See more
Replies (1)
Andres Paredes
Lead Senior Software Engineer at InTouch Technology · | 1 upvotes · 220.8K views
Recommends
on
Amazon SQSAmazon SQS

Mithiridi, I believe you are talking about two different things. 1. If you need to process messages with delays of more 15m or at specific times, it's not a good idea to use queues, independently of tool SQM, Rabbit or Amazon MQ. you should considerer another approach using a scheduled job. 2. For dead queues and policy retries RabbitMQ, for example, doesn't support your use case. https://medium.com/@kiennguyen88/rabbitmq-delay-retry-schedule-with-dead-letter-exchange-31fb25a440fc I'm not sure if that is possible SNS/SQS support, they have a maximum delay for delivery (maxDelayTarget) in seconds but it's not clear the number. You can check this out: https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Amazon SQS
Pros of IBM MQ
  • 62
    Easy to use, reliable
  • 40
    Low cost
  • 28
    Simple
  • 14
    Doesn't need to maintain it
  • 8
    It is Serverless
  • 4
    Has a max message size (currently 256K)
  • 3
    Triggers Lambda
  • 3
    Easy to configure with Terraform
  • 3
    Delayed delivery upto 15 mins only
  • 3
    Delayed delivery upto 12 hours
  • 1
    JMS compliant
  • 1
    Support for retry and dead letter queue
  • 1
    D
  • 3
    Reliable for banking transactions
  • 3
    Useful for big enteprises
  • 2
    Secure
  • 1
    Broader connectivity - more protocols, APIs, Files etc
  • 1
    Many deployment options (containers, cloud, VM etc)
  • 1
    High Availability

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon SQS
Cons of IBM MQ
  • 2
    Has a max message size (currently 256K)
  • 2
    Proprietary
  • 2
    Difficult to configure
  • 1
    Has a maximum 15 minutes of delayed messages only
  • 2
    Cost

Sign up to add or upvote consMake informed product decisions

What is Amazon SQS?

Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.

What is IBM MQ?

It is a messaging middleware that simplifies and accelerates the integration of diverse applications and business data across multiple platforms. It offers proven, enterprise-grade messaging capabilities that skillfully and safely move information.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Amazon SQS?
What companies use IBM MQ?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Amazon SQS?
What tools integrate with IBM MQ?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

GitHubPythonNode.js+47
55
72830
GitGitHubSlack+30
27
18715
GitHubDockerAmazon EC2+23
12
6617
GitHubPythonSlack+25
7
3228
What are some alternatives to Amazon SQS and IBM MQ?
Amazon MQ
Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud.
Kafka
Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
ActiveMQ
Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.
Amazon SNS
Amazon Simple Notification Service makes it simple and cost-effective to push to mobile devices such as iPhone, iPad, Android, Kindle Fire, and internet connected smart devices, as well as pushing to other distributed services. Besides pushing cloud notifications directly to mobile devices, SNS can also deliver notifications by SMS text message or email, to Simple Queue Service (SQS) queues, or to any HTTP endpoint.
See all alternatives