Reprinted from the message middleware Activemq, RABBITMQ, ROCKETMQ, ZeroMQ, Kafka how to choose.
Recently to the company's Message Queuing middleware selection, the market related to open source technology is very much, such as ACTIVEMQ, RABBITMQ, ZeroMQ, Kafka, as well as Alibaba's rocketmq and so on.
So much techno
I. Overview of Message QueuingMessage Queuing middleware is an important component in distributed system, which mainly solves the problems of application decoupling, asynchronous message, traffic cutting and so on, realizing high performance, high availability, scalable and final consistency architecture. More message queues are currently available with ACTIVEMQ,RABBITMQ,ZEROMQ,KAFKA,METAMQ,ROCKETMQ
Second,
, message sequencing, problem tracking, visual management tools, plug-in systems, communityRABBITMQ Best, Activemq second, zeromq worst.Of course zeromq can also do, but they have to manually write code implementation, the amount of code is not small. Especially in reliability: persistence, delivery Confirmation, publisher verification, and high availability .So in reliability and availability, RABBITMQ is the first choice, although
player in the field with an impressive feature set. ActiveMQ is more in the RabbitMQ league than Kafka and like Kafka, it's written in Java. HA can is provided by the storage backend, LevelDB supports replication but I got some issues with it. My requirements is not for full HA, just to make sure the publishers is never blocked so I dropped the storage backend R
Objective:
Activemq and RabbitMq and Kafka in the previous projects have been used in succession, of course, for the three did not have a specific comparison, the following excerpt some online about these three comparisons, I have seen after I feel
It is possible to have a clearer feedback of these three specific cases that have been used in the scene, with the following specific comparisons:
1) TPS Compari
Set jvm parameters for tomcat, zookeeper, activeMQ, and Kafka, and set zookeeperactivemq1. Set jvm parameters for tomcatSetting method:Add configuration in the tomcat bin directory:Setenv. sh
#add tomcat pidCATALINA_PID="$CATALINA_BASE/conf/tomcat.pid"#add java optsJAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true \ -server -Xmx1g -Xms1g -Xmn256m -XX:PermSize=128m -Xss256k -XX:+DisableEx
I have studied RABBITMQ before and have installed it. the articles for the installation record are as follows:Erlang:http://www.cnblogs.com/charlesblc/p/5512380.htmlRabbitmq:http://www.cnblogs.com/charlesblc/p/5516585.htmlAs you can see, good memory is inferior to bad writing. Still have to record!In addition, the classification is particularly important, with the title search RABBITMQ is not found at all, from the "Installation Deployment" category only found. so the classification is still to
goes, shop around, we look at the difference between Kafka and other messaging systems.
The LinkedIn team did an experimental study comparing the performance of Kafka with Apache ActiveMQ V5.4 and Rabbitmq V2.4. LinkedIn runs their experiments on two Linux machines, each configured with 8 cores of 2GHz, 16GB of memory, and 6 disks using RAID10. Two machines are
Apache Kafka: the next generation distributed Messaging SystemIntroduction
Apache Kafka is a distributed publish-subscribe message system. It was initially developed by LinkedIn and later became part of the Apache project. Kafka is a fast and scalable Log service that is designed internally to be distributed, partitioned, and replicated.
Compared with traditional
The main role of a JMS broker such as ActiveMQ is to provide a communicationInfrastructure for client applications. For that reason, ActiveMQ provides connectors,A connectivity mechanism that provides client-to-broker communications (usingTransport connectors) as well as Broker-to-broker communications (using networkConnectors). ActiveMQ allows client application
Brief introductionApache Kafka is a distributed publish-subscribe messaging system. It was originally developed by LinkedIn and later became part of the Apache project. Kafka is a fast, extensible, design-only, distributed, partitioned, and replicable commit log service.Apache Kafka differs from traditional messaging systems in the following ways:
It is
Brief introductionApache Kafka is a distributed publish-subscribe messaging system. It was originally developed by LinkedIn and later became part of the Apache project. Kafka is a fast, extensible, design-only, distributed, partitioned, and replicable commit log service.Apache Kafka differs from traditional messaging systems in the following ways:
It is
1. Quick Start 1: download the latest version from the official website. The latest version is 5.9.0 2. Unzip the package, open cmd, enter the bin directory, and run activemq. (In linux, enter nohup activemq ) to check the output startup log. Loading message broker from: xbean: activemq. xml, which is the main configuration file. Using Persistence Adapter: KahaDB
"Http://www.infoq.com/cn/articles/apache-kafka/"Distributed publish-Subscribe messaging system.Kafka is a fast, extensible, design-only, distributed, partitioned, and replicable commit log service.Apache Kafka differs from traditional messaging systems in the following ways:It is designed as a distributed system that is easy to scale out;It also provides high throughput for both publishing and subscriptions
installation and start-up of Activemq
Install Java Configuration Java environment
download ACTIVEMQUnzip the compressed packageTar zxvf activemq-x.x.x-bin.tar.gzAt this point, Linux under the ACTIVEMQ installation work is completed.ACTIVEMQ startup under LinuxThe startup Activemq is split into two modes, starting wit
Recently want to test the performance of Kafka, toss a lot of genius to Kafka installed to the window. The entire process of installation is provided below, which is absolutely usable and complete, while providing complete Kafka Java client code to communicate with Kafka. Here you have to spit, most of the online artic
Recently want to learn MOM (message middleware: Messages oriented middleware), from the comparative basis of ACTIVEMQ learning, RabbitMQ, ZeroMQ, ROCKETMQ, Kafka and other follow-up to learn.It says that ACTIVEMQ is a kind of message middleware, but why use ACTIVEMQ?In the absence of JMS, many applications will have sy
In the Java field, it is very common to integrate a product into the application server, and it is more common to integrate the message middleware into the application server.Currently, open-source application servers are widely used in Geronimo and JBoss. The default JMS provider of Geronimo is activemq, while the default JMS provider of JBoss application server is jbossmq. Integrating activemq into JBoss
Kafka ---- kafka API (java version), kafka ---- kafkaapi
Apache Kafka contains new Java clients that will replace existing Scala clients, but they will remain for a while for compatibility. You can call these clients through some separate jar packages. These packages have little dependencies, and the old Scala client w
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.