Amazon MQ vs Azure Service Bus

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

Amazon MQ

54
325
+ 1
12
Azure Service Bus

276
531
+ 1
7
Add tool

Amazon MQ vs Azure Service Bus: What are the differences?

Key Differences between Amazon MQ and Azure Service Bus

In this article, we will explore the key differences between Amazon MQ and Azure Service Bus. Both Amazon MQ and Azure Service Bus are managed messaging services provided by Amazon Web Services (AWS) and Microsoft, respectively. These services help businesses decouple their applications, improve reliability, and increase scalability by providing a messaging infrastructure. However, there are several differences between them.

  1. Protocol Support: Amazon MQ supports different messaging protocols, including Advanced Message Queuing Protocol (AMQP), OpenWire, and Message Queue Telemetry Transport (MQTT). On the other hand, Azure Service Bus primarily supports the AMQP and HTTP protocols. This difference in protocol support gives customers flexibility in choosing the protocol that best suits their needs.

  2. Deployment Model: Amazon MQ is a fully managed service that runs on Amazon's infrastructure. It can be easily provisioned and managed using the AWS Management Console. In contrast, Azure Service Bus can be deployed on-premises, in the cloud, or in a hybrid model, giving customers more deployment flexibility.

  3. Message Ordering: Amazon MQ provides strict ordering of messages within the same message group, ensuring that messages are processed in the exact order they are received. Azure Service Bus, on the other hand, does not guarantee strict ordering of messages within a queue or topic, making it suitable for scenarios where strict ordering is not a requirement.

  4. Feature Set: Amazon MQ offers a broader range of features compared to Azure Service Bus. For example, Amazon MQ supports broker-to-broker connectivity with Amazon ActiveMQ and RabbitMQ, while Azure Service Bus does not have this capability. Additionally, Amazon MQ provides more extensive monitoring and management features, such as performance metrics and alarms.

  5. Pricing Model: The pricing models for Amazon MQ and Azure Service Bus differ. Amazon MQ pricing is based on the instance type and usage, while Azure Service Bus pricing is based on the number of messaging operations and data transfer. Customers should consider their specific messaging needs and choose the pricing model that aligns with their requirements.

  6. Integration with Other Services: Both Amazon MQ and Azure Service Bus can integrate with other services in their respective cloud providers' ecosystems. However, Amazon MQ has tighter integration with other AWS services, such as Amazon SNS, Amazon SQS, and AWS Lambda, which can provide additional capabilities and flexibility for customers.

In Summary, the key differences between Amazon MQ and Azure Service Bus include protocol support, deployment model, message ordering, feature set, pricing model, and integration with other services. These differences allow customers to select the messaging service that best fits their specific requirements and preferences.

Advice on Amazon MQ and Azure Service Bus
André Almeida
Technology Manager at GS1 Portugal - Codipor · | 5 upvotes · 440.3K views
Needs advice
on
Azure Service BusAzure Service Bus
and
RabbitMQRabbitMQ

Hello dear developers, our company is starting a new project for a new Web App, and we are currently designing the Architecture (we will be using .NET Core). We want to embark on something new, so we are thinking about migrating from a monolithic perspective to a microservices perspective. We wish to containerize those microservices and make them independent from each other. Is it the best way for microservices to communicate with each other via ESB, or is there a new way of doing this? Maybe complementing with an API Gateway? Can you recommend something else different than the two tools I provided?

We want something good for Cost/Benefit; performance should be high too (but not the primary constraint).

Thank you very much in advance :)

See more
Replies (2)

A Pro of Azure Service Bus is reliability and persistence: you can send message when receiver is offline; receiver can read it when it back online. A Cons is costs and message size. You can consider also SignalR

See more
Recommends

There are many different messaging frameworks available for IPC use. It's not really a question of how "new" the technology is, but what you need it to do. Azure Service Bus can be a great service to use, but it can also take a lot of effort to administrate and maintain that can make it costly to use unless you need the more advanced features it offers for routing, sequencing, delivery, etc. I would recommend checking out this link to get a basic idea of different messaging architectures. These only cover Azure services, but there are many other solutions that use similar architectural models.

https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services

See more
MITHIRIDI PRASANTH
Software Engineer at LightMetrics · | 4 upvotes · 288.3K 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 · 219.6K 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 MQ
Pros of Azure Service Bus
  • 7
    Supports low IQ developers
  • 3
    Supports existing protocols (JMS, NMS, AMQP, STOMP, …)
  • 2
    Easy to migrate existing messaging service
  • 4
    Easy Integration with .Net
  • 2
    Cloud Native
  • 1
    Use while high messaging need

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon MQ
Cons of Azure Service Bus
  • 4
    Slow AF
  • 1
    Limited features in Basic tier
  • 1
    Skills can only be used in Azure - vendor lock-in
  • 1
    Lacking in JMS support
  • 1
    Observability of messages in the queue is lacking

Sign up to add or upvote consMake informed product decisions

What is 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.

What is Azure Service Bus?

It is a cloud messaging system for connecting apps and devices across public and private clouds. You can depend on it when you need highly-reliable cloud messaging service between applications and services, even when one or more is offline.

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

What companies use Amazon MQ?
What companies use Azure Service Bus?
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 MQ?
What tools integrate with Azure Service Bus?
What are some alternatives to Amazon MQ and Azure Service Bus?
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.
RabbitMQ
RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
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.
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.
Kafka
Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
See all alternatives