Skip to main content

Evaluation and Performance Analysis of Apache Pulsar and NATS

  • Conference paper
  • First Online:
Cyber Security and Digital Forensics

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Pulsar Homepage. https://pulsar.apache.org/docs/en/concepts-overview/

  2. NATS Homepage. https://docs.nats.io

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

    Google Scholar 

  4. Fidler, E., Jacobsen, H.A., Li, G., Mankovski, S.: Publish/subscribe system. Feature Interact. Telecommun. Softw. Syst. VIII (2005)

    Google Scholar 

  5. Maheshwari, P., Pang, M.: Benchmarking message-oriented middleware: TIB/RV versus SonicMQ. Concurrency Comput. Pract. Exp. 17(12), 1507–1526 (2005)

    Article  Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

  9. Sachs, K., Kounev, S., Bacon, J., Buchmann, A.: Performanceevaluation of message-oriented middleware using the SPECjms2007 benchmark. Perform. Eval. 66(8), 410–434 (2009)

    Google Scholar 

  10. Sachs, K., Kounev, S., Appel, S., Buchmann, A.: A performance test harness for publish/subscribe middleware. In: Sigmetrics/Performance (2009)

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

  13. John, V., Liu, X.: A Survey of Distributed Message Broker Queues. arXivpreprint arXiv:1704.00411 (2017)

  14. RabbitMQ Homepage. rabbitmq.com

  15. CNCF Homepage. https://www.cncf.io/

  16. Zookeeper Homepage. https://zookeeper.apache.org/

  17. Bookkeeper Homepage. https://bookkeeper.apache.org/

  18. Athenz IO. https://www.athenz.io/

  19. Nats-Io Server Github. http://github.com/nats-io/nats-server

  20. Protocol Buffers. https://developers.google.com/protocol-buffers

  21. RAFT Consensus Algorithm Paper. https://raft.github.io/raft.pdf

  22. Tylertreat GitHub. https://github.com/tylertreat/bench

  23. Nats Streaming Server GitHub. https://github.com/nats-io/nats-streaming-server

  24. Apache Pulsar GitHub. https://github.com/apache/pulsar

  25. Nats-Io Github. https://github.com/nats-io/nats.go

  26. Stan-Go GitHub. https://github.com/nats-io/stan.go

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vanita Jain .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics