Get in touch

Fill out this form and our team will respond as soon as we can, alternatively email us at mail@icepanel.io

Get in touch

Fill out this form and our team will respond as soon as we can, alternatively email us at mail@icepanel.io

Back to all blogs

Top 6 message queues for distributed architectures

Message queues for Cloud and decoupled architectures and their advantages and disadvantages

eventstechnologysoftware architecture
18 May 2023
Blog hero image

⚡ Tl;dr

🚀 Let’s kick-off

As architectures move toward the cloud and become increasingly distributed, the need for communication and messaging is becoming a critical part of modern software systems. As applications are decoupled into independent building blocks, they often need mechanisms to share state, mutate data and handle events in different areas of the system.

❔ What is a message queue?

Message queues can be used for asynchronous communication between two or more services. They’re great for processing large or batched workloads and help smooth out their processing. Messages are usually pushed into the queue and processed sequentially by the receiver.

Let’s explore both open-source and cloud-hosted message queues.

1️⃣ RabbitMQ

RabbitMQ is an open-source message broker for asynchronous messaging, queueing and delivery acknowledgement. It can be deployed in the cloud or on-premise with Kubernetes, Chef, Docker or Puppet.

RabbitMQ!

👍 Advantages

👎 Disadvantages

2️⃣ Amazon Simple Queue System (SQS)

Amazon Simple Queue System or SQS is a fully managed message queue built for distributed and serverless platforms. Out of the box, it allows you to send, store and receive any volume of messages between services. It has a free and paid tier.

Amazon Simple Queue System SQS!

👍 Advantages

👎 Disadvantages

3️⃣ Apache ActiveMQ

Apache ActiveMQ is an open-source Java-based message queue that can be accessed by clients written in Javascript, C, C++, Python and .NET. There are two versions of ActiveMQ, the existing “classic” version and the next generation “Artemis” version, which is currently being worked on.

Apache ActiveMQ!

👍 Advantages

👎 Disadvantages

4️⃣ Apache Kafka

Apache Kafka is an open-source, distributed event streaming platform with message communication and storage capabilities. Although Kafka is not technically a message queue, it has the functionality of a message queue using a topic partition.

Apache Kafka!

👍 Advantages

👎 Disadvantages

5️⃣ Google Cloud Pub/Sub

Google Cloud Pub/Sub is a fully-managed, globally scalable and secure queue provided by Google Cloud for asynchronous processing messages. Cloud Pub/Sub has many of the same advantages and disadvantages as SQS due to also being cloud hosted. It has a free and paid tier.

Google Cloud Pub/Sub!

👍 Advantages

👎 Disadvantages

6️⃣ Microsoft Azure Service Bus

Microsoft Azure Service Bus is a reliable, fully managed Cloud service for delivering messages via queues or topics. It has a free and paid tier.

Microsoft Azure Service Bus!

👍 Advantages

👎 Disadvantages

🏁 To wrap up

Let us know if you’ve had your own experiences with any of these message queues and comment with your own experiences, pros and cons.

Stay chill 🧊

Victor

Get in touch

Fill out this form and our team will respond as soon as we can, alternatively email us at mail@icepanel.io

We use cookies to improve your experience
Accepting lets us personalize content and understand how our site is used. By clicking “Accept all”, you agree to our use of cookies as described in our Privacy Policy.