Skip to main content

Performance Comparison of Monolith and Microservice Architectures

An Analysis of the State of the Art

  • Conference paper
  • First Online:
Software Architecture. ECSA 2023 Tracks, Workshops, and Doctoral Symposium (ECSA 2023)

Abstract

The migration of monolith systems to the microservices architecture is becoming common due to the promised advantages of the latter. In this paper, we do a state-of-the-art analysis of the performance, throughput, and deployment infrastructure costs associated with the migration of monoliths to microservices. We analyze existing studies using a reference model of the relevant architectural elements used to design a microservices architecture. We identified the conflicting results that were already reported in the literature and we propose some aspects that we consider to be relevant to be addressed in future studies.

This work was supported by Fundação para a Ciência e Tecnologia (FCT) through projects UIDB/50021/2020 (DOI:10.54499/UIDB/50021/2020), PTDC/CCI-COM/2156/2021 (10.54499/PTDC/CCI-COM/2156/2021) and UIDB/00319/2020.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Akbulut, A., Perros, H.G.: Performance analysis of microservice design patterns. IEEE Internet Comput. 23(6), 19–27 (2019). https://doi.org/10.1109/MIC.2019.2951094

    Article  Google Scholar 

  2. Al-Debagy, O., Martinek, P.: A comparative review of microservices and monolithic architectures. In: 2018 IEEE 18th International Symposium on Computational Intelligence and Informatics (CINTI), pp. 000149–000154 (2018). https://doi.org/10.1109/CINTI.2018.8928192

  3. Bjorndal, N., Araujo, L., Bucchiarone, A., Dragoni, N., Mazzara, M., Dustdar, S.: Benchmarks and performance metrics for assessing the migration to microservice-based architectures. J. Object Technol. 20(2), 2:1–17 (2021). https://doi.org/10.5381/jot.2021.20.2.a3

  4. Blinowski, G., Ojdowska, A., Przybyłek, A.: Monolithic vs. microservice architecture: a performance and scalability evaluation. IEEE Access 10, 20357–20374 (2022). https://doi.org/10.1109/ACCESS.2022.3152803

  5. Clements, P., et al.: Documenting Software Architectures: Views and Beyond, 2nd edn. SEI Series in Software Engineering, Addison-Wesley, Upper Saddle River (2010)

    Google Scholar 

  6. Costa, L., Ribeiro, A.N.: Performance evaluation of microservices featuring different implementation patterns. In: Abraham, A., Gandhi, N., Hanne, T., Hong, T.-P., Nogueira Rios, T., Ding, W. (eds.) ISDA 2021. LNNS, vol. 418, pp. 165–176. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-96308-8_15

    Chapter  Google Scholar 

  7. Eriksson, M.: A case study of performance comparison between monolithic and microservice-based quality control system. Bachelor’s thesis, Linköpings Universitet (2020)

    Google Scholar 

  8. Flygare, R., Holmqvist, A.: Performance characteristics between monolithic and microservice-based systems. Bachelor’s thesis, Blekinge Institute of Technology (2017)

    Google Scholar 

  9. Fowler, M.: Microservices. Web page (2014). http://martinfowler.com/articles/microservices.html. Accessed 06 July 2023

  10. Garcia-Molina, H., Salem, K.: Sagas. SIGMOD Rec. 16(3), 249–259 (1987). https://doi.org/10.1145/38714.38742

    Article  Google Scholar 

  11. Gysel, M., Kölbener, L., Giersche, W., Zimmermann, O.: Service cutter: a systematic approach to service decomposition. In: Aiello, M., Johnsen, E.B., Dustdar, S., Georgievski, I. (eds.) ESOCC 2016. LNCS, vol. 9846, pp. 185–200. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44482-6_12

    Chapter  Google Scholar 

  12. Heinrich, R., et al.: Performance engineering for microservices: research challenges and directions. In: Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering Companion, ICPE 2017 Companion, pp. 223–226. Association for Computing Machinery, New York (2017). https://doi.org/10.1145/3053600.3053653

  13. Jayasinghe, M., Chathurangani, J., Kuruppu, G., Tennage, P., Perera, S.: An analysis of throughput and latency behaviours under microservice decomposition. In: Bielikova, M., Mikkonen, T., Pautasso, C. (eds.) ICWE 2020. LNCS, vol. 12128, pp. 53–69. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-50578-3_5

    Chapter  Google Scholar 

  14. Kolny, M.: Scaling up the prime video audio/video monitoring service and reducing costs by 90%. Web page (2023). https://www.primevideotech.com/video-streaming/scaling-up-the-prime-video-audio-video-monitoring-service-and-reducing-costs-by-90. Accessed 06 July 2023

  15. Li, S., et al.: Understanding and addressing quality attributes of microservices architecture: a systematic literature review. Inf. Softw. Technol. 131, 106449 (2021). https://doi.org/10.1016/j.infsof.2020.106449. https://www.sciencedirect.com/science/article/pii/S0950584920301993

  16. Mangwani, P., Mangwani, N., Motwani, S.: Evaluation of a multitenant saas using monolithic and microservice architectures. SN Comput. Sci. 4, Mar 2023. https://doi.org/10.1007/s42979-022-01610-2

  17. Mendonca, N.C., Box, C., Manolache, C., Ryan, L.: The monolith strikes back: Why istio migrated from microservices to a monolithic architecture. IEEE Softw. 38(05), 17–22 (2021). https://doi.org/10.1109/MS.2021.3080335

  18. O’Hanlon, C.: A conversation with werner vogels. Queue 4(4), 14–22 (2006). https://doi.org/10.1145/1142055.1142065

    Article  Google Scholar 

  19. Pahl, C., Jamshidi, P., Zimmermann, O.: Microservices and containers - architectural patterns for cloud and edge. In: Lecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI). vol. P-300, p. 115–116 (2020)

    Google Scholar 

  20. Richardson, C.: Microservices Patterns. Manning (2019)

    Google Scholar 

  21. Singh, V., Peddoju, S.K.: Container-based microservice architecture for cloud applications. In: 2017 International Conference on Computing, Communication and Automation (ICCCA), pp. 847–852 (2017). https://doi.org/10.1109/CCAA.2017.8229914

  22. Tapia, F., Mora, M.A., Fuertes, W., Aules, H., Flores, E., Toulkeridis, T.: From monolithic systems to microservices: a comparative study of performance. Appl. Sci. 10(17) (2020). https://doi.org/10.3390/app10175797. https://www.mdpi.com/2076-3417/10/17/5797

  23. Thönes, J.: Microservices. IEEE Softw. 32(1), 116–116 (2015)

    Article  Google Scholar 

  24. Ueda, T., Nakaike, T., Ohara, M.: Workload characterization for microservices. In: 2016 IEEE International Symposium on Workload Characterization (IISWC), pp. 1–10 (2016). https://doi.org/10.1109/IISWC.2016.7581269

  25. Vale, G., et al.: Designing microservice systems using patterns: an empirical study on quality trade-offs. In: 2022 IEEE 19th International Conference on Software Architecture (ICSA), pp. 69–79. IEEE Computer Society, Los Alamitos, CA, USA, March 2022. https://doi.org/10.1109/ICSA53651.2022.00015

  26. Villamizar, M., et al.: Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS lambda architectures. SOCA 11, 233–247 (2017)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Helena Rodrigues .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Rodrigues, H., Rito Silva, A., Avritzer, A. (2024). Performance Comparison of Monolith and Microservice Architectures. In: Tekinerdoğan, B., Spalazzese, R., Sözer, H., Bonfanti, S., Weyns, D. (eds) Software Architecture. ECSA 2023 Tracks, Workshops, and Doctoral Symposium. ECSA 2023. Lecture Notes in Computer Science, vol 14590. Springer, Cham. https://doi.org/10.1007/978-3-031-66326-0_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-66326-0_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-66325-3

  • Online ISBN: 978-3-031-66326-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics