EUVIMEDEUVIMED entdecken
Crossref

A Comparative Performance Study of Protocols for Inter-Service Communication in Microservices Architecture

Dr. Kamlendu Kumar Pandey

IOSR Journal of Computer Engineering · 2026-05 · 28 (5) · 59-66

DOI: 10.9790/0661-2805035966 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IOSR Journal of Computer Engineering, 2026-05. Verfasst von Dr. Kamlendu Kumar Pandey.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Microservices architecture breaks a large software system into a set of smaller services that can be developed, deployed, and scaled independently. These services, however, need to communicate with one another frequently across a network. As a result, the inter-service communication protocol can have a noticeable effect on latency, throughput, resource consumption, and the ability of the system to scale. This paper presents a comparative performance study of five commonly used communication mechanisms in microservices: REST over HTTP/1.1 with JSON, gRPC over HTTP/2 with Protocol Buffers, GraphQL, and the asynchronous messaging technologies RabbitMQ (AMQP) and Apache Kafka. A representative containerised testbed was used to evaluate these mechanisms under progressively higher loads. Average response time, peak throughput, CPU utilisation, and p99 tail latency were considered as the main performance measures. The experimental results indicate that gRPC consistently provides the lowest response time and the highest throughput among the synchronous approaches, largely because it combines binary serialisation with HTTP/2 multiplexing. REST remains comparatively efficient in terms of resource usage and is straightforward to introduce, particularly for low-to-moderate workloads. GraphQL provides greater flexibility in deciding which data a client receives, although this flexibility comes with higher CPU overhead associated with JSON processing and query resolution. For asynchronous communication, Kafka sustains higher message throughput and shows more stable tail latency as the message rate increases, while RabbitMQ provides lower latency at small to moderate loads and offers flexible routing semantics. Overall, the findings indicate that the choice of communication protocol should depend on the requirements of a particular service boundary rather than on a single protocol being used everywhere. In practice, a combination of gRPC or REST for synchronous request/response interactions and Kafka or RabbitMQ for asynchronous, event-driven communication can provide a useful balance among performance, flexibility, and maintainability.

Zitieren

APA

Pandey, D. K. K. (2026). A Comparative Performance Study of Protocols for Inter-Service Communication in Microservices Architecture. IOSR Journal of Computer Engineering, 28(5), 59-66. https://doi.org/10.9790/0661-2805035966

Vancouver

Pandey DKK. A Comparative Performance Study of Protocols for Inter-Service Communication in Microservices Architecture. IOSR Journal of Computer Engineering. 2026;28(5):59-66. doi:10.9790/0661-2805035966

BibTeX
@article{Pandey2026,
  author = {Pandey, Dr. Kamlendu Kumar},
  title = {A Comparative Performance Study of Protocols for Inter-Service Communication in Microservices Architecture},
  journal = {IOSR Journal of Computer Engineering},
  year = {2026},
  volume = {28},
  number = {5},
  pages = {59--66},
  doi = {10.9790/0661-2805035966}
}
Kostenlos starten →