Technical Selection of message-oriented middleware-rabbitmq, activemq, and zeromq

Source: Internet
Author: User
Tags rabbitmq
Technical Selection of message-oriented middleware-rabbitmq, activemq, and zeromq

Author: chszs, reprinted with note. Blog homepage: http://blog.csdn.net/chszs

Rabbitmq, activemq, and zeromq are both excellent message-oriented middleware. But which of the following is more suitable for our project? Many developers are faced with this problem. Next I will compare the three message-oriented middleware. After reading this, you will be aware of it.

Rabbitmq is a leading implementation of the amqp protocol. It implements the Broker Architecture, meaning that messages can be queued on the central node before being sent to the client. This feature makes rabbitmq easy to use and deploy. It is suitable for many scenarios, such as routing, Server Load balancer, and message persistence. You only need a few lines of code to use the message queue. However, this causes poor scalability and slow speed, because the central node increases latency and the message encapsulation is also relatively large.

Zeromq is a lightweight messaging system developed for high throughput/low latency scenarios. It is often found in financial applications. Compared with rabbitmq, zeromq supports many advanced message scenarios, but you must implement each block in the zeromq framework (such as socket or device ). Zeromq is very flexible, but you must learn its 80-page manual (if you want to write a distributed system, read it ).

Activemq is similar to zemomq and can be deployed in both proxy and P2P modes. Similar to rabbitmq, it is easy to implement advanced scenarios and requires low consumption. It is known as the "Swiss Army Knife" of message-oriented middleware ".

Note that the next generation of activemq is Apollo.

Finally, these three products:
1. All have client APIs and support multiple programming languages;
2. There are a large number of documents;
3. All provide positive support.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.