Abstract
Messaging systems are a crucial part of many distributed systems. Various implementations of open-source message brokers, message queues, and messaging protocols are in wide use to facilitate highly available and reliable messaging. We evaluated the architectures of two popular open-source message brokers used in the cloud: Apache Pulsar and NATS, studying qualitative differences like broker distribution, client architecture, messaging features, etc., and benchmark the two message brokers in realistic deployments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Pulsar Homepage. https://pulsar.apache.org/docs/en/concepts-overview/
NATS Homepage. https://docs.nats.io
Eugster, P.T., Felber, P.A., Guerraoui, R., Kermarrec, A.-M.: The many faces of publish/subscribe. ACM Comput. Surv. (CSUR) 35(2), 114–131 (2003)
Fidler, E., Jacobsen, H.A., Li, G., Mankovski, S.: Publish/subscribe system. Feature Interact. Telecommun. Softw. Syst. VIII (2005)
Maheshwari, P., Pang, M.: Benchmarking message-oriented middleware: TIB/RV versus SonicMQ. Concurrency Comput. Pract. Exp. 17(12), 1507–1526 (2005)
Appel, S., Sachs, K., Buchmann, A.: Towards benchmarking ofAMQP. In: Proceedings of the Fourth ACM International Conference on Distributed Event-Based Systems, pp. 99–100 (2010)
Sachs, K., Appel, S., Kounev, S., Buchmann, A.: Benchmarking publish/subscribe-based messaging systems. In: International Conference on Database Systems for Advanced Applications, pp. 203–214. Springer, Berlin, Heidelberg (2010)
Sachs, K., Kounev, S., Appel, S., Buchmann, A.: Benchmarking of message-oriented middleware. In: Proceedings of the Third ACM International Conference on Distributed Event-Based Systems, pp. 1–2 (2009)
Sachs, K., Kounev, S., Bacon, J., Buchmann, A.: Performanceevaluation of message-oriented middleware using the SPECjms2007 benchmark. Perform. Eval. 66(8), 410–434 (2009)
Sachs, K., Kounev, S., Appel, S., Buchmann, A.: A performance test harness for publish/subscribe middleware. In: Sigmetrics/Performance (2009)
Sachs, K., Kounev, S., Bacon, J., Buchmann, A.: Workload characterization of the SPECjms2007 benchmark. In: European Performance Engineering Workshop, pp. 228–244. Springer, Berlin, Heidelberg (2007)
Folkerts, E., Alexandrov, A., Sachs, K., Iosup, A., Markl, V., Tosun, C.: Benchmarking in the cloud: what it should, can, and cannotbe. In: Technology Conference on Performance Evaluation and Benchmarking, pp. 173–188. Springer, Berlin, Heidelberg (2012)
John, V., Liu, X.: A Survey of Distributed Message Broker Queues. arXivpreprint arXiv:1704.00411 (2017)
RabbitMQ Homepage. rabbitmq.com
CNCF Homepage. https://www.cncf.io/
Zookeeper Homepage. https://zookeeper.apache.org/
Bookkeeper Homepage. https://bookkeeper.apache.org/
Athenz IO. https://www.athenz.io/
Nats-Io Server Github. http://github.com/nats-io/nats-server
Protocol Buffers. https://developers.google.com/protocol-buffers
RAFT Consensus Algorithm Paper. https://raft.github.io/raft.pdf
Tylertreat GitHub. https://github.com/tylertreat/bench
Nats Streaming Server GitHub. https://github.com/nats-io/nats-streaming-server
Apache Pulsar GitHub. https://github.com/apache/pulsar
Nats-Io Github. https://github.com/nats-io/nats.go
Stan-Go GitHub. https://github.com/nats-io/stan.go
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jain, V., Ahuja, A., Saini, D. (2022). Evaluation and Performance Analysis of Apache Pulsar and NATS. In: Khanna, K., Estrela, V.V., Rodrigues, J.J.P.C. (eds) Cyber Security and Digital Forensics . Lecture Notes on Data Engineering and Communications Technologies, vol 73. Springer, Singapore. https://doi.org/10.1007/978-981-16-3961-6_16
Download citation
DOI: https://doi.org/10.1007/978-981-16-3961-6_16
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-3960-9
Online ISBN: 978-981-16-3961-6
eBook Packages: EngineeringEngineering (R0)