Efficiency comparison of message brokers

Main Article Content

DOI

Sebastian Dyjach

sebastian.dyjach@pollub.edu.pl

Małgorzata Plechawska-Wójcik

m.plechawska@pollub.pl

Abstract

The aim of the article is to compare three main brokers used in the development of web applications: RabbitMQ, Apache Kafka and Apache Pulsar. To conduct the research, a custom application was created to compare two key metrics in the context of message queue performance. These metrics are: latency and number of processed messages per second. The conducted experiments showed that in scenarios requiring processing of backlogged messages by the broker and in cases of minimizing the impact of the SSL protocol on broker performance, Apache Pulsar proved to be the best solu­tion. In the scenario examining message delivery delays, RabbitMQ turned out to be the best tool, while in the case of examining the stability of message processing in real-time, the best results were achieved with Apache Kafka.

Keywords:

Apache Kafka, Apache Pulsar, message broker, RabbitMQ

References

Article Details

Dyjach, S., & Plechawska-Wójcik, M. (2024). Efficiency comparison of message brokers. Journal of Computer Sciences Institute, 31, 116–123. https://doi.org/10.35784/jcsi.6084