Skip to main content

An Analysis of Throughput and Latency Behaviours Under Microservice Decomposition

  • Conference paper
  • First Online:
Web Engineering (ICWE 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12128))

Included in the following conference series:

Abstract

Microservice architecture is a widely used architectural style which allows you to design your application using a set of loosely coupled services which can be developed, deployed, and scaled independently. The service decomposition is the act of decomposing (breaking) a coarse-grained service into a set of fine-grained services that collectively perform the functionality of the original service. The service decomposition introduces additional overhead due to inter-service communication of services which impacts the performance. In this paper, we study the effect of service decomposition on the throughput and average latency. We perform an extensive performance analysis using a set of standard microservice benchmarks with different workload characteristics. Our results indicate that when we decompose a service into a set of micro-services the performance of the new application can improve or degrade. The factors which impact the performance behaviours are the number of service calls, the service demand, concurrency (i.e. number of concurrent users) and the decomposition strategy. In addition to the experimental performance evaluation, we analyze the performance impact of service decomposition using queueing theoretic models. We compare the analytical results with experimental results and notice that analytical results match well with the experimental results.

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

  2. 2.

    https://github.com/gayalkuruppu/microservices-performance.

  3. 3.

    https://github.com/gayalkuruppu/microservices-performance/tree/master/Results.

  4. 4.

    https://jmeter.apache.org/.

  5. 5.

    https://github.com/acmeair/acmeair.

References

  1. Amaral, M., Polo, J., Carrera, D., Mohomed, I., Unuvar, M., Steinder, M.: Performance evaluation of microservices architectures using containers. In: 2015 IEEE 14th International Symposium on Network Computing and Applications, pp. 27–34. IEEE (2015)

    Google Scholar 

  2. Bondi, A.: Foundations of Software and System Performance Engineering: Process, Performance Modeling, Requirements, Testing, Scalability, and Practice, August 2014

    Google Scholar 

  3. Didona, D., Quaglia, F., Romano, P., Torre, E.: Enhancing performance prediction robustness by combining analytical modeling and machine learning. In: Proceedings of the 6th ACM/SPEC International Conference on Performance Engineering, ICPE 2015, pp. 145–156. ACM, New York (2015). https://doi.org/10.1145/2668930.2688047

  4. Klock, S., Van Der Werf, J.M.E., Guelen, J.P., Jansen, S.: Workload-based clustering of coherent feature sets in microservice architectures. In: 2017 IEEE International Conference on Software Architecture (ICSA), pp. 11–20. IEEE (2017)

    Google Scholar 

  5. Kratzke, N.: About microservices, containers and their underestimated impact on network performance (2017)

    Google Scholar 

  6. Liu, H.H.: Software Performance and Scalability: A Quantitative Approach. Wiley, Hoboken (2009)

    Book  Google Scholar 

  7. Lloyd, W., Ramesh, S., Chinthalapati, S., Ly, L., Pallickara, S.: Serverless computing: an investigation of factors influencing microservice performance. In: 2018 IEEE International Conference on Cloud Engineering (IC2E), pp. 159–169, April 2018. https://doi.org/10.1109/IC2E.2018.00039

  8. Gribaudo, M., Iacono, M., Manini, D.: Performance evaluation of massively distributed microservices based applications. In: 31st European Conference on Modelling and Simulation, Proceedings of the ECMS, Hungary (2017)

    Google Scholar 

  9. Pacheco, V.: Microservice Patterns and Best Practices: Explore Patterns Like CQRS and Event Sourcing to Create Scalable, Maintainable, and Testable Microservices. Packt Publishing (2018). https://books.google.lk/books?id=gfi9tAEACAAJ

  10. Romano, P., Leonetti, M.: Poster: selftuning batching in total order broadcast via analytical modelling and reinforcement learning. SIGMETRICS Perform. Eval. Rev. 39, 77 (2011). https://doi.org/10.1145/2034832.2034861

    Article  Google Scholar 

  11. Rudrabhatla, C.K.: Comparison of event choreography and orchestration techniques in microservice architecture. Int. J. Adv. Comput. Sci. Appl. 9(8), 18–22 (2018)

    Google Scholar 

  12. Shadija, D., Rezai, M., Hill, R.: Microservices: granularity vs. performance. In: Companion Proceedings of the10th International Conference on Utility and Cloud Computing, pp. 215–220. ACM (2017)

    Google Scholar 

  13. Sriraman, A., Wenisch, T.F.: Micro-suite: a benchmark suite for microservices. In: 2018 IEEE International Symposium on Workload Characterization (IISWC), pp. 1–12, September 2018. https://doi.org/10.1109/IISWC.2018.8573515

  14. Sun, Y., Meng, L., Liu, P., Zhang, Y., Chan, H.: Automatic performance simulation for microservice based applications. In: Li, L., Hasegawa, K., Tanaka, S. (eds.) AsiaSim 2018. CCIS, vol. 946, pp. 85–95. Springer, Singapore (2018). https://doi.org/10.1007/978-981-13-2853-4_7

    Chapter  Google Scholar 

  15. Tennage, P., Perera, S., Jayasinghe, M., Jayasena, S.: An analysis of holistic tail latency behaviors of Java microservices. In: 2019 IEEE 21st International Conference on High Performance Computing and Communications, IEEE 17th International Conference on Smart City, IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), pp. 697–705. IEEE (2019)

    Google Scholar 

  16. Ueda, T., Nakaike, T., Ohara, M.: Workload characterization for microservices. In: 2016 IEEE International Symposium on Workload Characterization (IISWC), pp. 1–10. IEEE (2016)

    Google Scholar 

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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Malith Jayasinghe .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jayasinghe, M., Chathurangani, J., Kuruppu, G., Tennage, P., Perera, S. (2020). An Analysis of Throughput and Latency Behaviours Under Microservice Decomposition. In: Bielikova, M., Mikkonen, T., Pautasso, C. (eds) Web Engineering. ICWE 2020. Lecture Notes in Computer Science(), vol 12128. Springer, Cham. https://doi.org/10.1007/978-3-030-50578-3_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-50578-3_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-50577-6

  • Online ISBN: 978-3-030-50578-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics