A Comparative Study Evaluation of Kafka and RabbitMQ: Performance, Scalability and Stress Test in Distributed Messaging Systems
Abstract
The two most widely used Message-Oriented Middleware (MOM) technologies are Apache Kafka and RabbitMQ, both of which have fundamental differences in terms of architecture and performance characteristics. Kafka is designed for high-throughput and good scalability data stream processing, while RabbitMQ excels in message routing flexibility, delivery reliability, and complex queue management. This study presents a comprehensive comparative analysis of two leading message brokers, namely Apache Kafka and RabbitMQ to evaluate performance, scalability, and behaviour under stress test, for the selection of the most suitable message broker in modern distributed system architectures. The experimental testing process was carried out in four different scenarios: message size variation of 1 KB, 10 KB and 100 KB aimed at measuring performance based on payload size, message volume variation of 10,000, 50,000 and 100,000 messages to see throughput limits and resource usage, consumer number variation of 1, 5 and 10 Measuring the scalability of the consumer system, then a high-intensity pressure test of 100,000 messages in 10 seconds to evaluate the stability and latency of the overload. Key performance metrics, such as throughput, latency, CPU usage, and RAM consumption are carefully evaluated. The overall results of the experiment were more suitable for systems that affect the speed and volume of messages, while Kafka was more appropriate for extreme workloads with high durability requirements. This experiment provided empirical data concluding that RabbitMQ is highly effective for applications that require sending high-volume, low-latency individual messages, while Kafka's strength lies in handling specific data stream sizes and maintaining stability under intense and sustained loads.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muhammad Rias Ramadan, Ach Muhyil Umam, Anani Asmani, Royyana Muslim Ijtihadie

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in JUTI unless they receive approval for doing so from the Editor-in-Chief.
JUTI open access articles are distributed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.











