Skip to main content

Performance and Resilience to Failures of an Cloud-Based Application: Monolithic and Microservices-Based Architectures Compared

  • Conference paper
  • First Online:
Computer Information Systems and Industrial Management (CISIM 2019)

Abstract

Traditional cloud applications were based on monolithic processes started inside virtual machines. The development of virtualization containers and automated orchestration systems made a new microservices-based architecture of applications possible. The advantages and disadvantages of both application architectures have been already discussed in the literature. However there still a shortage of direct performance comparisons for both application versions. In this paper we present such an experimental study of response times and transaction rates for the same application implemented in monolithic and microservices-based architectures. The ability to survive database failures is also analyzed.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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://github.com/docker/example-voting-app.

  2. 2.

    https://martinfowler.com/bliki/CQRS.html

  3. 3.

    https://jmeter.apache.org

  4. 4.

    https://github.com/JoeDog/siege

References

  1. Balalaie, A., Heydarnoori, A., Jamshidi, P.: Migrating to cloud-native architectures using microservices: an experience report. In: Celesti, A., Leitner, P. (eds.) ESOCC Workshops 2015. CCIS, vol. 567, pp. 201–215. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-33313-7_15

    Chapter  Google Scholar 

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

    Chapter  Google Scholar 

  3. Dragoni, N., Lanese, I., Larsen, S.T., Mazzara, M., Mustafin, R., Safina, L.: Microservices: how to make your application scale. In: Petrenko, A.K., Voronkov, A. (eds.) PSI 2017. LNCS, vol. 10742, pp. 95–104. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-74313-4_8

    Chapter  Google Scholar 

  4. Fowler, M., Lewis, J.: Microservices a definition of this new architectural term (2014). http://martinfowler.com/articles/microservices.html

  5. Fritzsch, J., Bogner, J., Zimmermann, A., Wagner, S.: From monolith to microservices: a classification of refactoring approaches. In: Bruel, J.-M., Mazzara, M., Meyer, B. (eds.) DEVOPS 2018. LNCS, vol. 11350, pp. 128–141. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-06019-0_10

    Chapter  Google Scholar 

  6. Ghofrani, J., Lübke, D.: Challenges of microservices architecture: a survey on the state of the practice. In: ZEUS (2018)

    Google Scholar 

  7. Kratzke, N.: About microservices, containers and their underestimated impact on network performance. arXiv preprint arXiv:1710.04049 (2017)

  8. Kratzke, N.: A brief history of cloud application architectures. Appl. Sci. 8(8), 1368 (2018)

    Article  Google Scholar 

  9. López, M.R., Spillner, J.: Towards quantifiable boundaries for elastic horizontal scaling of microservices. In: Companion Proceedings of the 10th International Conference on Utility and Cloud Computing, pp. 35–40. ACM (2017)

    Google Scholar 

  10. Malavalli, D., Sathappan, S.: Scalable microservice based architecture for enabling DMTF profiles. In: 11th International Conference on Network and Service Management (CNSM), pp. 428–432. IEEE (2015)

    Google Scholar 

  11. Menasce, D.A., Almeida, V.A.: Capacity Planning for Web Services: Metrics, Models, and Methods, vol. 2. Prentice Hall PTR, Upper Saddle River (2002)

    Google Scholar 

  12. Nossenson, R.: Stochastic models for web servers. Ph.D. thesis, Technion – Israel Institute of Technology (2005)

    Google Scholar 

  13. Pahl, C.: Containerisation and the paas cloud. IEEE Cloud Comput. 2(3), 24–31 (2015)

    Article  Google Scholar 

  14. Pahl, C., Jamshidi, P.: Microservices: a systematic mapping study. In: CLOSER (2016)

    Google Scholar 

  15. Savchenko, D., Radchenko, G., Taipale, O.: Microservices validation: Mjolnirr platform case study. In: 38th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), pp. 235–240. IEEE (2015)

    Google Scholar 

  16. Scheepers, M.J.: Virtualization and containerization of application infrastructure: a comparison. In: 21st Twente Student Conference on IT, pp. 1–7 (2014)

    Google Scholar 

  17. Shadija, D., Rezai, M., Hill, R.: Microservices: granularity vs. performance. In: UCC (2017)

    Google Scholar 

  18. Van Steen, M., Tanenbaum, A.S.: Distributed Systems. CreateSpace Independent Publishing Platform, Scotts Valley (2017)

    MATH  Google Scholar 

  19. Villamizar, M., et al.: Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud. In: 10th Computing Colombian Conference (10CCC), pp. 583–590 (2015)

    Google Scholar 

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

    Article  Google Scholar 

  21. Zhang, Q., Cheng, L., Boutaba, R.: Cloud computing: state-of-the-art and research challenges. J. Internet Serv. Appl. 1(1), 7–18 (2010)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Marian Rusek .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jagiełło, M., Rusek, M., Karwowski, W. (2019). Performance and Resilience to Failures of an Cloud-Based Application: Monolithic and Microservices-Based Architectures Compared. In: Saeed, K., Chaki, R., Janev, V. (eds) Computer Information Systems and Industrial Management. CISIM 2019. Lecture Notes in Computer Science(), vol 11703. Springer, Cham. https://doi.org/10.1007/978-3-030-28957-7_37

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-28957-7_37

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-28956-0

  • Online ISBN: 978-3-030-28957-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics