RabbitMQ vs ZeroMQ: What are the differences?
What is RabbitMQ? A messaging broker - an intermediary for messaging. RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
What is ZeroMQ? Fast, lightweight messaging library that allows you to design complex communication system without much effort. 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.
RabbitMQ and ZeroMQ belong to "Message Queue" category of the tech stack.
Some of the features offered by RabbitMQ are:
- Robust messaging for applications
- Easy to use
- Runs on all major operating systems
On the other hand, ZeroMQ provides the following key features:
- Connect your code in any language, on any platform.
- Carries messages across inproc, IPC, TCP, TPIC, multicast.
- Smart patterns like pub-sub, push-pull, and router-dealer.
"It's fast and it works with good metrics/monitoring" is the primary reason why developers consider RabbitMQ over the competitors, whereas "Fast" was stated as the key factor in picking ZeroMQ.
RabbitMQ and ZeroMQ are both open source tools. It seems that RabbitMQ with 5.88K GitHub stars and 1.73K forks on GitHub has more adoption than ZeroMQ with 5.28K GitHub stars and 1.56K GitHub forks.
reddit, 9GAG, and CircleCI are some of the popular companies that use RabbitMQ, whereas ZeroMQ is used by SocialDecode, Binary.com, and Pixotale. RabbitMQ has a broader approval, being mentioned in 921 company stacks & 532 developers stacks; compared to ZeroMQ, which is listed in 35 company stacks and 12 developer stacks.
What is RabbitMQ?
What is ZeroMQ?
Want advice about which of these to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
I developed one of the largest queue based medical results delivery systems in the world, 18,000+ queues and still growing over a decade later all using MQSeries, later called Websphere MQ. When I left that company I started using RabbitMQ after doing some research on free offerings.. it works brilliantly and is incredibly flexible from small scale single instance use to large scale multi-server - multi-site architectures.
If you can think in queues then RabbitMQ should be a viable solution for integrating disparate systems.
The poster child for scalable messaging systems, RabbitMQ has been used in countless large scale systems as the messaging backbone of any large cluster, and has proven itself time and again in many production settings.
Rabbit acts as our coordinator for all actions that happen during game time. All worker containers connect to rabbit in order to receive game events and emit their own events when applicable.
Used as central Message Broker; off-loading tasks to be executed asynchronous, used as communication tool between different microservices, used as tool to handle peaks in incoming data, etc.
RabbitMQ is the enterprise message bus for our platform, providing infrastructure for managing our ETL queues, real-time event notifications for applications, and audit logging.
RabbitMQ is an all purpose queuing service for our stack. We use it for user facing jobs as well as keeping track of behind the scenes jobs.
Our platform is based on interconnected services with a custom RPC protocol based on ZeroMQ and inspired by ZeroMQs LPP/MDP protocols.