Using the gRPC protocol in the context of crisis management
Published 2024-05-20
Keywords
- gRPC protocol,
- inter-service communication,
- crisis management
How to Cite
![Creative Commons License](http://i.creativecommons.org/l/by/4.0/88x31.png)
This work is licensed under a Creative Commons Attribution 4.0 International License.
Abstract
Speed, stability, and efficiency are key parameters in inter-service communication during crisis management. Traditionally, REST, an architectural style based on HTTP protocol principles was used in microservice architecture due to its simplicity and broad support. However, with the increasing number of requests to and between microservices, the gRPC protocol is becoming an increasingly attractive alternative. This paper presents the technical advantages of the gRPC protocol over traditional REST in the context of inter-service communication in crisis conditions, focusing on several key parameters: low latency, efficiency, data streaming capability, and support for distributed transactions. This paper demonstrates the gRPC protocol through the Go programming language, which is also recognized as a very efficient, reliable, and scalable, making it acceptable for microservices development.