In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
What message middleware are there? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
Message middleware are: 1, Kafka is mainly designed for high-throughput subscription and publishing systems, the pursuit of speed and persistence; 2, RabbitMQ is an open source message queuing system developed using Erlang language, based on AMQP protocol to achieve; 3, RocketMQ is pure Java development, with high throughput.
Message middleware includes:
Kafka 、 RabbitMQ 、 RocketMQ
1 、 Kafka
Kafka is LinkedIn's open source distributed publish-subscribe messaging system, which currently belongs to the Apache top-level project. Kafka is mainly designed for high-throughput subscription and publishing systems, pursuing speed and persistence. Messages in kafka are composed of keys, values and timestamps. Kafka does not record who uses each message, but only records which messages are unread through offset. Consumer groups can be specified in kafka to subscribe to publication.
2 、 RabbitMQ
RabbitMQ is an open source message queuing system developed in Erlang language and implemented based on AMQP protocol. The main features of AMQP are message-oriented, queue-oriented, routing (including peer-to-peer and publish / subscribe), reliability and security. AMQP protocol is more used in enterprise systems, requiring high data consistency, stability and reliability, followed by performance and throughput requirements.
3 、 RocketMQ
RocketMQ is Ali open source message middleware, it is pure Java development, with high throughput, high availability, suitable for large-scale distributed system applications. The idea of RocketMQ originated from Kafka, but it is not a Copy of Kafka. It optimizes the reliable transmission and transactionality of messages. At present, it is widely used in trading, recharging, flow computing, message push, log streaming, binglog distribution and other scenarios. There are not many client languages supported. At present, they are Java and Clippers, among which C++ is not yet mature.
5. Comparison of Kafka, RabbitMQ and RocketMQ
1. Rabbitmq is more reliable than kafka, and kafka is more suitable for IO high throughput processing, such as ELK log collection.
2. Kafka has high throughput, internal message batch processing, zero-copy mechanism, data storage and acquisition is a local disk sequential batch operation, with O (1) complexity, message processing efficiency is very high. RabbitMQ is slightly inferior to kafka in terms of throughput, and their starting point is different. RabbitMQ supports reliable delivery of messages, supports transactions, and does not support batch operations; storage-based reliability requires that storage can be stored in memory or hard disk.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.