Comparison between RabbitMQ, ActiveMQ, Kafka

1. RabbitMQ

  Rabbit uses an open source message middleware developed in Erlang language, based on the AMQP protocol. The main features of AMQP are message, queue, and routing (including peer-to-peer and publish and subscribe). RabbitMQ is more used in enterprise systems and has certain requirements for security, stability, and reliability in application scenarios. The requirements are placed in a secondary position. The community is very active, and the version maintenance update releases several versions almost every month.

Second, ActiveMQ

  ActiveMQ is one of the most popular and powerful open source message bus under Apach, and supports message middleware of JMS specification. It has a rich API, and a variety of cluster construction modes make it become the industry's old message middleware. Widely used in SMEs. Our common cluster mode has a master-slave mode (master-slave mode), which uses zookeepercoordinated control between the master and slave nodes. There are fewer and fewer applications of ActiveMQ

Three, Kafka

  Kafka currently belongs to a top-level project under Apach. Kafka only provides fewer core functions and does not support transactions, but provides ultra-high throughput, ms-level latency, extremely high availability and reliability, and the distribution can be arbitrarily expanded ; The disadvantage is that the message may appear to be repeated consumption. Therefore, it is not suitable for projects that have strict requirements on data accuracy. But in the field of big data, this difference in data is acceptable. So Kafka is often used for real-time calculation and log collection in the field of big data,

Four, RabbitMQ, ActiveMQ, Kafka heat comparison

Insert picture description here

Published 117 original articles · Like 57 · Visitors 10,000+

Guess you like

Origin blog.csdn.net/qq_43655835/article/details/104771008