Analysis of the performance and scalability of microservices depending on the communication technology

Jan Jarmoszewicz

jan.jarmoszewicz@pollub.edu.pl
Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin (Poland)

Patryk Iwanowski


Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin (Poland)

Małgorzata Plechawska-Wójcik


Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin (Poland)


Abstract

The aim of this study is to compare the performance and scalability of microservices based on the communication technology used. The research is conducted on four systems, each consisting of three microservices, utilizing REST and gRPC technologies, as well as two communication schemes between the services. The systems are tested on two experimental setups with different system resources, considering metrics such as response time, memory usage, and CPU usage. The obtained results indicate that applications based on gRPC are generally more efficient and scalable but require more CPU resources, whereas REST-based applications require more RAM resources.


Keywords:

gRPC, REST, performance of microservices applications, scalability of microservices applications

[1] M. Grambow, L. Meusel, E. Wittern, D. Bermbach, Benchmarking microservice performance: a pattern-based approach, SAC '20: Proceedings of the 35th Annual ACM Symposium on Applied Computing (2020) 232–241, https://doi.org/10.1145/3341105.3373875.
  Google Scholar

[2] A. Akbulut, H. G. Perros, Performance Analysis of Microservice Design Patterns, IEEE Internet Computing 23 (6) (2019) 19–27, https://doi.org/10.1109/MIC.2019.2951094.
  Google Scholar

[3] P. K. Kumar, R. Agarwal, R. Shivaprasad, D. Sitaram, S. Kalambur, Performance Characterization of Communication Protocols in Microservice Applications, In 2021 International Conference on Smart Applications, Communications and Networking (SmartNets) (2021) 1-5, https://doi.org/10.1109/SmartNets50376.2021.9555425.
  Google Scholar

[4] M. Samardžić, R. Šajina, N. Tanković, T. G. Grbac, Microservice Performance Degradation Correlation, In 43rd International Convention on Information, Communication and Electronic Technology (MIPRO) (2020) 1623-1626, https://doi.org/10.23919/MIPRO48935.2020.9245234.
  Google Scholar

[5] A. Avritzer, V. Ferme, A. Janes, B. Russo, A. van Hoorn, H. Schulz, D. Menasché, V. Rufino, Scalability Assessment of Microservice Architecture Deployment Configurations: A Domain-based Approach Leveraging Operational Profiles and Load Tests, Journal of Systems and Software 165 (2020) 110564-110579, https://doi.org/10.1016/j.jss.2020.110564.
  Google Scholar

[6] L. D. S. B Weerasinghe, I. Perera, Evaluating the Inter-Service Communication on Microservice Architecture, In 2022 7th International Conference on Information Technology Research (ICITR) (2022) 1-6, https://doi.org/10.1109/ICITR57877.2022.9992918.
  Google Scholar

[7] Introduction to gRPC, https://www.baeldung.com/grpc-introduction, [04.08.2024].
  Google Scholar

[8] Spring Framework Integration Documentation, https://docs.spring.io/spring-framework/reference/integration.html, [04.08.2024].
  Google Scholar

[9] Prometheus Documentation, https://prometheus.io/docs/introduction/overview/, [04.08.2024].
  Google Scholar

[10] Grafana Documentation, https://grafana.com/docs/grafana/latest/datasources/prometheus/, [04.08.2024].
  Google Scholar

[11] REST with Spring Tutorial, https://www.baeldung.com/rest-with-spring-series, [04.08.2024].
  Google Scholar

[12] Gatling Documentation, https://gatling.io/docs/gatling/ [04.08.2024]
  Google Scholar

Download


Published
2024-12-30

Cited by

Jarmoszewicz, J., Iwanowski, P., & Plechawska-Wójcik, M. (2024). Analysis of the performance and scalability of microservices depending on the communication technology. Journal of Computer Sciences Institute, 33, 323–330. Retrieved from https://ph.pollub.pl/index.php/jcsi/article/view/6499

Authors

Jan Jarmoszewicz 
jan.jarmoszewicz@pollub.edu.pl
Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin Poland

Authors

Patryk Iwanowski 

Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin Poland

Authors

Małgorzata Plechawska-Wójcik 

Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin Poland

Statistics

Abstract views: 17
PDF downloads: 11


License

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.