Efficiency comparison of message brokers

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...

Full description

Saved in:
Bibliographic Details
Main Authors: Sebastian Dyjach, Małgorzata Plechawska-Wójcik
Format: Article
Language:English
Published: Lublin University of Technology 2024-06-01
Series:Journal of Computer Sciences Institute
Subjects:
Online Access:https://ph.pollub.pl/index.php/jcsi/article/view/6084
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832570012090499072
author Sebastian Dyjach
Małgorzata Plechawska-Wójcik
author_facet Sebastian Dyjach
Małgorzata Plechawska-Wójcik
author_sort Sebastian Dyjach
collection DOAJ
description 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.
format Article
id doaj-art-815c4e5b70724c9a97479d79d0769247
institution Kabale University
issn 2544-0764
language English
publishDate 2024-06-01
publisher Lublin University of Technology
record_format Article
series Journal of Computer Sciences Institute
spelling doaj-art-815c4e5b70724c9a97479d79d07692472025-02-02T18:01:28ZengLublin University of TechnologyJournal of Computer Sciences Institute2544-07642024-06-013110.35784/jcsi.6084Efficiency comparison of message brokersSebastian Dyjach0Małgorzata Plechawska-Wójcik1Lublin University of TechnologyLublin University of Technology 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. https://ph.pollub.pl/index.php/jcsi/article/view/6084Apache KafkaApache Pulsarmessage brokerRabbitMQ
spellingShingle Sebastian Dyjach
Małgorzata Plechawska-Wójcik
Efficiency comparison of message brokers
Journal of Computer Sciences Institute
Apache Kafka
Apache Pulsar
message broker
RabbitMQ
title Efficiency comparison of message brokers
title_full Efficiency comparison of message brokers
title_fullStr Efficiency comparison of message brokers
title_full_unstemmed Efficiency comparison of message brokers
title_short Efficiency comparison of message brokers
title_sort efficiency comparison of message brokers
topic Apache Kafka
Apache Pulsar
message broker
RabbitMQ
url https://ph.pollub.pl/index.php/jcsi/article/view/6084
work_keys_str_mv AT sebastiandyjach efficiencycomparisonofmessagebrokers
AT małgorzataplechawskawojcik efficiencycomparisonofmessagebrokers