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

Main Article Content

DOI

Jan Jarmoszewicz

jan.jarmoszewicz@pollub.edu.pl

Patryk Iwanowski

patryk.iwanowski@pollub.edu.pl

Małgorzata Plechawska-Wójcik

m.plechawska@pollub.pl

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

References

Article Details

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. https://doi.org/10.35784/jcsi.6499