Skip to main content

Performance Evaluation of Microservices Featuring Different Implementation Patterns

  • Conference paper
  • First Online:
Intelligent Systems Design and Applications (ISDA 2021)

Abstract

The process of migrating from a monolithic to a microservices based architecture is currently described as a form of modernizing applications. The core principles of microservices, which mostly reside in achieving loose coupling between the services, highly depend on the implementation approaches used. Being microservices a complete change of paradigm that contrasts with the traditional way of developing software, the current lack of established principles often results in implementations that conflict with its alleged benefits. Given its distributed nature, performance is affected, but specific implementation patterns can further impact it. This paper aims to address the impact that microservices-based solutions, featuring different implementation patterns, have on performance and how it compares with monolithic applications. To do so, benchmarks are conducted over one application developed following a traditional monolithic approach, and two equivalent microservices-based implementations featuring distinct inter-service communication mechanisms and data management methodologies.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.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

Notes

  1. 1.

    https://jmeter.apache.org/.

  2. 2.

    https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/.

  3. 3.

    https://microservices.io/patterns/data/saga.html.

  4. 4.

    https://www.rabbitmq.com/.

  5. 5.

    https://microservices.io/patterns/data/cqrs.html.

  6. 6.

    https://www.gluster.org/.

References

  1. Kratzke, N., Quint, P.: Understanding cloud-native applications after 10 years of cloud computing - a systematic mapping study. J. Syst. Softw. 126, 1–16 (2017)

    Google Scholar 

  2. Taibi, D., Lenarduzzi, V., Pahl, C.: Processes, motivations and issues for migrating to microservices architectures: an empirical investigation. IEEE Cloud Comput. 4, 22–32 (2017)

    Google Scholar 

  3. Dragoni, N., et al.: Microservices: yesterday, today, and tomorrow. In: Mazzara, M., Meyer, B. (eds.) Present and Ulterior Software Engineering, pp. 195–216. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67425-4_12

  4. Chen, R., Li, S., Li, Z.: From monolith to microservices: a dataflow-driven approach. In: 2017 24th APSEC on Proceedings, pp. 466–475 (2017)

    Google Scholar 

  5. Carrasco, A., Bladel, B., Demeyer, S.: Migrating towards microservices: migration and architecture smells. In: 2nd International Workshop on Refactoring on Proceedings, pp. 1–6. Association for Computing Machinery (2018)

    Google Scholar 

  6. Jamshidi, P., Pahl, C., Mendonça, N.C., Lewis, J., Tilkov, S.: Microservices: the journey so far and challenges ahead. IEEE Softw. 35 24–35 (2018)

    Google Scholar 

  7. Baskarada, S., Nguyen, V., Koronios, A.: Architecting microservices: practical opportunities and challenges. J. Comput. Inf. Syst. (2018)

    Google Scholar 

  8. Singh, V., Peddoju, S.K.: Container-based microservice architecture for cloud applications. In: 2017 International Conference on Computing, Communication and Automation (ICCCA) on Proceedings, pp. 847–852. IEEE (2017)

    Google Scholar 

  9. Al-Debagy, O., Martinek, P.: A comparative review of microservices and monolithic architectures. In: IEEE 18th International Symposium on Computational Intelligence and Informatics (CINTI) on Proceedings, pp. 149–154. IEEE (2018)

    Google Scholar 

  10. Flygare, R., Holmqvist, A.: Performance characteristics between monolithic and microservice-based systems. Bachelor’s Thesis, Faculty of Computing Blekinge Institute of Technology Karlskrona, Sweden (2017)

    Google Scholar 

  11. Akbulut, A., Perros, H.G.: Performance analysis of microservice design patterns. IEEE Internet Comput. 23, 19–27 (2019)

    Google Scholar 

Download references

Acknowledgments

This work is financed by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Costa, L., Ribeiro, A.N. (2022). Performance Evaluation of Microservices Featuring Different Implementation Patterns. In: Abraham, A., Gandhi, N., Hanne, T., Hong, TP., Nogueira Rios, T., Ding, W. (eds) Intelligent Systems Design and Applications. ISDA 2021. Lecture Notes in Networks and Systems, vol 418. Springer, Cham. https://doi.org/10.1007/978-3-030-96308-8_15

Download citation

Publish with us

Policies and ethics