Alternatives to RabbitMQ logo

Alternatives to RabbitMQ

Kafka, ActiveMQ, ZeroMQ, Amazon SNS, and Redis are the most popular alternatives and competitors to RabbitMQ.
20.8K
18.4K
+ 1
527

What is RabbitMQ and what are its top alternatives?

RabbitMQ is a popular open-source message broker that implements the Advanced Message Queuing Protocol (AMQP). It is designed to facilitate communication between different systems by acting as a middleman for message exchange. RabbitMQ features include message queuing, publish/subscribe messaging, routing, and reliability mechanisms. However, some limitations of RabbitMQ include potential message loss in certain scenarios, high memory usage, and limited support for complex message routing scenarios.

  1. Apache Kafka: Apache Kafka is a distributed streaming platform with high-throughput, fault-tolerant messaging capabilities. Its key features include horizontal scalability, fault tolerance, and real-time data streaming. Compared to RabbitMQ, Kafka is better suited for handling large volumes of data and enables real-time processing, but it may have a steeper learning curve for beginners.

  2. ActiveMQ: Apache ActiveMQ is an open-source message broker that supports multiple messaging protocols and provides features such as message queuing, topic-based messaging, and message persistence. Compared to RabbitMQ, ActiveMQ has better support for complex messaging patterns like message groups and message selectors, but it may face performance issues under heavy loads.

  3. ZeroMQ: ZeroMQ is a lightweight messaging library that allows building distributed messaging systems with low latency and high throughput. Its key features include support for various messaging patterns, scalability, and simplicity. Compared to RabbitMQ, ZeroMQ is more lightweight and faster, but it lacks built-in features like message queuing and persistence.

  4. NATS: NATS is a high-performance messaging system that provides publish/subscribe and request/reply messaging patterns. Its key features include simplicity, scalability, and high performance. Compared to RabbitMQ, NATS is more lightweight and faster, but it may not offer as many advanced features for complex messaging scenarios.

  5. Redis: Redis is an open-source, in-memory data structure store that can be used as a message broker for real-time messaging. Its key features include high performance, persistence, and support for various data structures. Compared to RabbitMQ, Redis is faster for simple messaging scenarios but may lack advanced features like message queuing and routing.

  6. Amazon SQS: Amazon Simple Queue Service (SQS) is a fully managed message queuing service provided by AWS. Its key features include scalability, reliability, and seamless integration with other AWS services. Compared to RabbitMQ, Amazon SQS is a managed service that offloads maintenance tasks but may have limitations in terms of customization and control.

  7. Google Cloud Pub/Sub: Google Cloud Pub/Sub is a scalable and durable real-time messaging service provided by Google Cloud Platform. Its key features include global availability, horizontal scalability, and integration with other GCP services. Compared to RabbitMQ, Google Cloud Pub/Sub is a fully managed service with high availability and scalability but may have higher costs for usage.

  8. IBM MQ: IBM MQ is a reliable, secure, and scalable messaging middleware that enables communication between applications and systems. Its key features include support for multiple messaging protocols, high availability, and data encryption. Compared to RabbitMQ, IBM MQ is better suited for enterprise environments with advanced security and compliance requirements but may have higher costs and complexity.

  9. KubeMQ: KubeMQ is a Kubernetes-native message broker and message queueing system that simplifies the process of building scalable and resilient microservices architecture. Its key features include seamless integration with Kubernetes, high performance, and automatic failover. Compared to RabbitMQ, KubeMQ is easier to deploy and manage in containerized environments but may have limited support for complex messaging patterns.

  10. Mosquitto: Eclipse Mosquitto is an open-source MQTT broker that provides lightweight messaging capabilities for IoT applications. Its key features include support for the MQTT protocol, scalability, and low resource usage. Compared to RabbitMQ, Mosquitto is optimized for IoT use cases with low bandwidth and resource constraints but may lack features for more general-purpose messaging scenarios.

Top Alternatives to RabbitMQ

  • Kafka
    Kafka

    Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design. ...

  • ActiveMQ
    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. ...

  • ZeroMQ
    ZeroMQ

    The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. ...

  • Amazon SNS
    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. ...

  • Redis
    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. ...

  • Gearman
    Gearman

    Gearman allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events. ...

  • Beanstalkd
    Beanstalkd

    Beanstalks's interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously. ...

  • gRPC
    gRPC

    gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking... ...

RabbitMQ alternatives & related posts

Kafka logo

Kafka

23K
21.6K
607
Distributed, fault tolerant, high throughput pub-sub messaging system
23K
21.6K
+ 1
607
PROS OF KAFKA
  • 126
    High-throughput
  • 119
    Distributed
  • 92
    Scalable
  • 86
    High-Performance
  • 66
    Durable
  • 38
    Publish-Subscribe
  • 19
    Simple-to-use
  • 18
    Open source
  • 12
    Written in Scala and java. Runs on JVM
  • 9
    Message broker + Streaming system
  • 4
    KSQL
  • 4
    Avro schema integration
  • 4
    Robust
  • 3
    Suport Multiple clients
  • 2
    Extremely good parallelism constructs
  • 2
    Partioned, replayable log
  • 1
    Simple publisher / multi-subscriber model
  • 1
    Fun
  • 1
    Flexible
CONS OF KAFKA
  • 32
    Non-Java clients are second-class citizens
  • 29
    Needs Zookeeper
  • 9
    Operational difficulties
  • 5
    Terrible Packaging

related Kafka posts

Eric Colson
Chief Algorithms Officer at Stitch Fix · | 21 upvotes · 6.1M views

The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

For more info:

#DataScience #DataStack #Data

See more
John Kodumal

As we've evolved or added additional infrastructure to our stack, we've biased towards managed services. Most new backing stores are Amazon RDS instances now. We do use self-managed PostgreSQL with TimescaleDB for time-series data—this is made HA with the use of Patroni and Consul.

We also use managed Amazon ElastiCache instances instead of spinning up Amazon EC2 instances to run Redis workloads, as well as shifting to Amazon Kinesis instead of Kafka.

See more
ActiveMQ logo

ActiveMQ

607
1.3K
77
A message broker written in Java together with a full JMS client
607
1.3K
+ 1
77
PROS OF ACTIVEMQ
  • 18
    Easy to use
  • 14
    Open source
  • 13
    Efficient
  • 10
    JMS compliant
  • 6
    High Availability
  • 5
    Scalable
  • 3
    Distributed Network of brokers
  • 3
    Persistence
  • 3
    Support XA (distributed transactions)
  • 1
    Docker delievery
  • 1
    Highly configurable
  • 0
    RabbitMQ
CONS OF ACTIVEMQ
  • 1
    ONLY Vertically Scalable
  • 1
    Support
  • 1
    Low resilience to exceptions and interruptions
  • 1
    Difficult to scale

related ActiveMQ posts

I want to choose Message Queue with the following features - Highly Available, Distributed, Scalable, Monitoring. I have RabbitMQ, ActiveMQ, Kafka and Apache RocketMQ in mind. But I am confused which one to choose.

See more
Naushad Warsi
software developer at klingelnberg · | 1 upvote · 777.8K views
Shared insights
on
ActiveMQActiveMQRabbitMQRabbitMQ

I use ActiveMQ because RabbitMQ have stopped giving the support for AMQP 1.0 or above version and the earlier version of AMQP doesn't give the functionality to support OAuth.

If OAuth is not required and we can go with AMQP 0.9 then i still recommend rabbitMq.

See more
ZeroMQ logo

ZeroMQ

260
580
71
Fast, lightweight messaging library that allows you to design complex communication system without much effort
260
580
+ 1
71
PROS OF ZEROMQ
  • 23
    Fast
  • 20
    Lightweight
  • 11
    Transport agnostic
  • 7
    No broker required
  • 4
    Low level APIs are in C
  • 4
    Low latency
  • 1
    Open source
  • 1
    Publish-Subscribe
CONS OF ZEROMQ
  • 5
    No message durability
  • 3
    Not a very reliable system - message delivery wise
  • 1
    M x N problem with M producers and N consumers

related ZeroMQ posts

Meili Triantafyllidi
Software engineer at Digital Science · | 6 upvotes · 438.5K views
Shared insights
on
Amazon SQSAmazon SQSRabbitMQRabbitMQZeroMQZeroMQ

Hi, we are in a ZMQ set up in a push/pull pattern, and we currently start to have more traffic and cases that the service is unavailable or stuck. We want to: * Not loose messages in services outages * Safely restart service without losing messages (ZeroMQ seems to need to close the socket in the receiver before restart manually)

Do you have experience with this setup with ZeroMQ? Would you suggest RabbitMQ or Amazon SQS (we are in AWS setup) instead? Something else?

Thank you for your time

See more
Amazon SNS logo

Amazon SNS

1.4K
1.2K
18
Fully managed push messaging service
1.4K
1.2K
+ 1
18
PROS OF AMAZON SNS
  • 12
    Low cost
  • 6
    Supports multi subscribers
CONS OF AMAZON SNS
    Be the first to leave a con

    related Amazon SNS posts

    Cyril Duchon-Doris

    We decided to use AWS Lambda for several serverless tasks such as

    • Managing AWS backups
    • Processing emails received on Amazon SES and stored to Amazon S3 and notified via Amazon SNS, so as to push a message on our Redis so our Sidekiq Rails workers can process inbound emails
    • Pushing some relevant Amazon CloudWatch metrics and alarms to Slack
    See more
    Manish Mishra
    Lead Consultant at Knoldus Software LLp · | 6 upvotes · 243.1K views
    Shared insights
    on
    Amazon PinpointAmazon PinpointAmazon SNSAmazon SNS

    Instead of Amazon SNS, which is currently being used to send outbound push notification and including SMS, we want to build the 2 Way SMS using Amazon Pinpoint. Just want to know about Pinpoint and any outstanding issues if we drop SNS since it does not support 2 Way and use Pinpoint for both incoming and outgoing flow.

    See more
    Redis logo

    Redis

    58.1K
    44.7K
    3.9K
    Open source (BSD licensed), in-memory data structure store
    58.1K
    44.7K
    + 1
    3.9K
    PROS OF REDIS
    • 886
      Performance
    • 542
      Super fast
    • 513
      Ease of use
    • 444
      In-memory cache
    • 324
      Advanced key-value cache
    • 194
      Open source
    • 182
      Easy to deploy
    • 164
      Stable
    • 155
      Free
    • 121
      Fast
    • 42
      High-Performance
    • 40
      High Availability
    • 35
      Data Structures
    • 32
      Very Scalable
    • 24
      Replication
    • 22
      Great community
    • 22
      Pub/Sub
    • 19
      "NoSQL" key-value data store
    • 16
      Hashes
    • 13
      Sets
    • 11
      Sorted Sets
    • 10
      NoSQL
    • 10
      Lists
    • 9
      Async replication
    • 9
      BSD licensed
    • 8
      Bitmaps
    • 8
      Integrates super easy with Sidekiq for Rails background
    • 7
      Keys with a limited time-to-live
    • 7
      Open Source
    • 6
      Lua scripting
    • 6
      Strings
    • 5
      Awesomeness for Free
    • 5
      Hyperloglogs
    • 4
      Transactions
    • 4
      Outstanding performance
    • 4
      Runs server side LUA
    • 4
      LRU eviction of keys
    • 4
      Feature Rich
    • 4
      Written in ANSI C
    • 4
      Networked
    • 3
      Data structure server
    • 3
      Performance & ease of use
    • 2
      Dont save data if no subscribers are found
    • 2
      Automatic failover
    • 2
      Easy to use
    • 2
      Temporarily kept on disk
    • 2
      Scalable
    • 2
      Existing Laravel Integration
    • 2
      Channels concept
    • 2
      Object [key/value] size each 500 MB
    • 2
      Simple
    CONS OF REDIS
    • 15
      Cannot query objects directly
    • 3
      No secondary indexes for non-numeric data types
    • 1
      No WAL

    related Redis posts

    Robert Zuber

    We use MongoDB as our primary #datastore. Mongo's approach to replica sets enables some fantastic patterns for operations like maintenance, backups, and #ETL.

    As we pull #microservices from our #monolith, we are taking the opportunity to build them with their own datastores using PostgreSQL. We also use Redis to cache data we’d never store permanently, and to rate-limit our requests to partners’ APIs (like GitHub).

    When we’re dealing with large blobs of immutable data (logs, artifacts, and test results), we store them in Amazon S3. We handle any side-effects of S3’s eventual consistency model within our own code. This ensures that we deal with user requests correctly while writes are in process.

    See more

    I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

    We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

    Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

    We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

    Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

    See more
    Gearman logo

    Gearman

    75
    144
    45
    A generic application framework to farm out work to other machines or processes
    75
    144
    + 1
    45
    PROS OF GEARMAN
    • 11
      Ease of use and very simple APIs
    • 11
      Free
    • 6
      Polyglot
    • 5
      No single point of failure
    • 3
      Scalable
    • 3
      High-throughput
    • 2
      Foreground & background processing
    • 2
      Very fast
    • 1
      Different Programming Languages Channel
    • 1
      Many supported programming languages
    CONS OF GEARMAN
      Be the first to leave a con

      related Gearman posts

      Beanstalkd logo

      Beanstalkd

      111
      160
      74
      A simple, fast work queue
      111
      160
      + 1
      74
      PROS OF BEANSTALKD
      • 23
        Fast
      • 12
        Free
      • 12
        Does one thing well
      • 9
        Scalability
      • 8
        Simplicity
      • 3
        External admin UI developer friendly
      • 3
        Job delay
      • 2
        Job prioritization
      • 2
        External admin UI
      CONS OF BEANSTALKD
        Be the first to leave a con

        related Beanstalkd posts

        Frédéric MARAND
        Core Developer at OSInet · | 2 upvotes · 232.3K views

        I used Kafka originally because it was mandated as part of the top-level IT requirements at a Fortune 500 client. What I found was that it was orders of magnitude more complex ...and powerful than my daily Beanstalkd , and far more flexible, resilient, and manageable than RabbitMQ.

        So for any case where utmost flexibility and resilience are part of the deal, I would use Kafka again. But due to the complexities involved, for any time where this level of scalability is not required, I would probably just use Beanstalkd for its simplicity.

        I tend to find RabbitMQ to be in an uncomfortable middle place between these two extremities.

        See more
        gRPC logo

        gRPC

        2.1K
        1.3K
        63
        A high performance, open-source universal RPC framework
        2.1K
        1.3K
        + 1
        63
        PROS OF GRPC
        • 24
          Higth performance
        • 15
          The future of API
        • 13
          Easy setup
        • 5
          Contract-based
        • 4
          Polyglot
        • 2
          Garbage
        CONS OF GRPC
          Be the first to leave a con

          related gRPC posts

          Dylan Krupp
          Shared insights
          on
          gRPCgRPCGraphQLGraphQL

          I used GraphQL extensively at a previous employer a few years ago and really appreciated the data-driven schema etc alongside the many other benefits it provided. At that time, it seemed like it was set to replace RESTful APIs and many companies were adopting it.

          However, as of late, it seems like interest has been waning for GraphQL as opposed to increasing as I had assumed it would. Am I missing something here? What is the current perspective regarding this technology?

          Currently, I'm working with gRPC and was curious as to the state of everything now.

          See more
          Shared insights
          on
          gRPCgRPCSignalRSignalR.NET.NET

          We need to interact from several different Web applications (remote) to a client-side application (.exe in .NET Framework, Windows.Console under our controlled environment). From the web applications, we need to send and receive data and invoke methods to client-side .exe on javascript events like users onclick. SignalR is one of the .Net alternatives to do that, but it adds overhead for what we need. Is it better to add SignalR at both client-side application and remote web application, or use gRPC as it sounds lightest and is multilingual?

          SignalR or gRPC are always sending and receiving data on the client-side (from browser to .exe and back to browser). And web application is used for graphical visualization of data to the user. There is no need for local .exe to send or interact with remote web API. Which architecture or framework do you suggest to use in this case?

          See more