Comparative Evaluation of Java Virtual Machine-Based Message Queue Services: A Study on Kafka, Artemis, Pulsar, and RocketMQ

Saved in:
Bibliographic Details
Title: Comparative Evaluation of Java Virtual Machine-Based Message Queue Services: A Study on Kafka, Artemis, Pulsar, and RocketMQ
Authors: Chy, M.S.H., Arju, M.A.R., Tella, S.M., Cerny, T.
Contributors: Systems and Industrial Engineering, University of Arizona
Source: Electronics (Switzerland)
Publisher Information: Multidisciplinary Digital Publishing Institute (MDPI)
Publication Year: 2023
Collection: The University of Arizona: UA Campus Repository
Subject Terms: Artemis, CPU utilization, garbage collection, JVM, Kafka, latency, message queue, Pulsar, RocketMQ, throughput
Description: Message Queue (MQ) services play a vital role in modern distributed systems as they enable asynchronous communication between services and facilitate the decoupling of various components of the system. Among the many MQ services available, Kafka, Apache Pulsar, Artemis, and RocketMQ are popular choices, each offering unique features and capabilities. As the adoption of MQ services continues to grow, choosing the appropriate service that can meet the requirements of the system has become increasingly challenging. Therefore, a comprehensive comparison of these services is crucial to determine the most suitable one for a specific use-case. This research paper presents a thorough evaluation of these MQ services based on critical metrics such as CPU utilization, memory usage, garbage collection, latency, and throughput. Based on our extensive review, no other research has delved into such a detailed evaluation, thereby establishing our work as a cornerstone in this field. The results of our study offer valuable insights into the strengths and limitations of each service. Our findings indicate that each message queue behaves differently inside the Java Virtual Machine (JVM). This work aims to assist developers and researchers in strategically deploying and optimizing MQ services based on specific system and use-case requirements. In addition to providing machine metrics, our results demonstrate the performance of each message queue under different load scenarios, making it a valuable resource for those seeking to ensure the effective functioning of their MQ services. © 2023 by the authors. ; Open access journal ; This item from the UA Faculty Publications collection is made available by the University of Arizona with support from the University of Arizona Libraries. If you have questions, please contact us at repository@u.library.arizona.edu.
Document Type: article in journal/newspaper
Language: English
Relation: http://hdl.handle.net/10150/671764; Electronics (Switzerland)
DOI: 10.3390/electronics12234792
Availability: http://hdl.handle.net/10150/671764
https://doi.org/10.3390/electronics12234792
Rights: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). ; https://creativecommons.org/licenses/by/4.0
Accession Number: edsbas.6DFECF71
Database: BASE
Be the first to leave a comment!
You must be logged in first