Podrobná bibliografie
| Název: |
Performance evaluation of microservices communication with REST, GraphQL, and gRPC. |
| Autoři: |
Niswar, Muhammad, Safruddin, Reza Arisandy, Bustamin, Anugrayani, Aswad, Iqra |
| Zdroj: |
International Journal of Electronics & Telecommunications; 2024, Vol. 70 Issue 2, p429-436, 8p |
| Témata: |
COMPUTER architecture, SOFTWARE maintenance, APPLICATION program interfaces, REMOTE procedure calls, OPEN Data Protocol |
| Abstrakt: |
Microservice architecture has become the design paradigm for creating scalable and maintainable software systems. Selecting the proper communication protocol in microservices is critical to achieving optimal system performance. This study compares the performance of three commonly used API protocols: REST, GraphQL, and gRPC, in microservices architecture. In this study, we established three microservices implemented in three containers and each microservice contained a Redis and MySQL database. We evaluated the performance of these API protocols using two key performance metrics: response time and CPU Utilization. This study performs two distinct data retrieval: fetching flat data and fetching nested data, with a number of requests ranging from 100 to 500 requests. The experimental results indicate that gRPC has a faster response time, followed by REST and GraphQL. Moreover, GraphQL shows higher CPU Utilization compared to gRPC and REST. The experimental results provide insight for developers and architects seeking to optimize their microservices communication protocols for specific use cases and workloads. [ABSTRACT FROM AUTHOR] |
|
Copyright of International Journal of Electronics & Telecommunications is the property of Polish Academy of Sciences and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Databáze: |
Complementary Index |