gRPC (HTTP/2) vs REST (HTTP/1.1) in Distributed Systems: Performance, Scalability, and the Cryptographic Cost of TLS 1.3
DOI:
https://doi.org/10.65405/295pgv81Keywords:
Termsdistributed systems, microservices, gRPC, REST, HTTP/2, Protocol Buffers, TLS 1.3, resource utiliza- tion, concurrency saturationAbstract
When architecture scaling hits production thresholds, modern distributed frameworks confront a defining engineering challenge in selecting their application-layer communication protocol. Legacy convention typically drives backend development tracks toward gRPC configurations—which tie HTTP/2 streaming multiplexing together with binary Protocol Buffers serialization—instead of standard RESTful environments running text-based JSON over HTTP/1.1 pipelines. However, capturing exactly how these protocol paradigms react under the severe, multi-process cryptographic strain of Transport Layer Security (TLS 1.3) remains anunquantified problem. To close this specific gap, we orchestrated an aggressive empirical stress test backed by 50,000 distinct request iterations per scenario, forcing system workloads to scale from a baseline of 10 up to 500 concurrent worker threads. Our operational measurements paint an explicitly asymmetric picture.While plaintext and secure gRPC configurations maintained high-velocity throughput parameters throughout load testing, easily breaching 12,500 req/s, our system tracking captured a complete architectural performance degradation inside secure HTTP/1.1 REST pipelines. At peak load (500 parallel workers),the REST-TLS transaction success rate dropped to an absolute floor of just 1.1%. Server-side diagnostic captures proved this failure mode was driven by immediate CPU exhaustion; the runtime environment experienced severe instability under maximum concurrency while trying to continuously allocate new parallel sockets and process endless cryptographic handshake recycling. This stood in sharp contrast to secured gRPC, which absorbed the identical TLS 1.3 encryption envelope seamlessly, suffering a negligible throughput decline under 1.5% and keeping a perfect 100% transaction success rate. These concrete execution outcomes reveal that HTTP/2 stream multiplexing delivers far more than mere communication speed; it serves as a strict, non-negotiable structural prerequisite for guaranteeing infrastructure stability across secured distributed deployments.
Downloads
References
[1] P. Iwanowski, J. Jarmoszewicz, and M. Plechawska-W´ ojcik, “Analysis of the performance and scalability of
microservices depending on the communication technology,” Journal of Computer Sciences Institute (JCSI), vol.
33, pp. 323-330, 2024.
[2] M. Niswar, R. A. Safruddin, A. Bustamin, and I. Aswad, “Performance evaluation of microservices communication
with REST, GraphQL, and gRPC,” Int. J. Electronics and Telecommunications, vol. 70, no. 2, pp. 429-436, 2024.
[3] V. Muniyandi, “Utilizing gRPC for high-performance inter-service communication in NET,” Nanotechnology
Perceptions, vol. 21, no. 3, pp. 62-73, 2025.
[4] M. Wijnants, R. Marx, P. Quax, and W. Lamotte, “HTTP/2 Prioritization and its Impact on Web Performance,” in
Proceedings of the 2018 Web Conference (WWW ’18), Lyon, France, 2018, pp. 1755-1764.
[5] H. Lee, D. Kim, and Y. Kwon, “TLS 1.3 in practice: How TLS 1.3 contributes to the internet,” in Proc. Web Conf.
(WWW 21), Ljubljana, Slovenia, 2021, pp. 70-79.
[6] G. Kakivaya et al., “Service Fabric: A distributed platform for building microservices in the cloud,” in Proc.
[7] Alnnale, T. (2026). Predictive Governance in Digital Enterprises: An LSTM-Enhanced Deep Learning Framework for Economic Optimization of IT Incident Management Using Enriched Process Logs. Al-Farooq Journal of Sciences, 2(3), 86-113.
EuroSys ’18, Porto, Portugal, 2018.
[8] M. Belshe, R. Peon, and M. Thomson, “Hypertext Transfer Protocol Version 2 (HTTP/2),” RFC 7540, IETF, 2015.
[9] Dalla, L. O. B., Essgaer, M., Jetlawei, S. S., EL-sseid, M., Alsharif, A., & Agila, A. A. A. (2026). Local Precision and Global Harmony: A Comparative Literature Review (LR) Framework for Taylor and Fourier Series in Engineering Modeling. Al-Farooq Journal of Sciences, 2(1), 275-304.
[10] E. Rescorla, “The Transport Layer Security (TLS) Protocol Version 1.3,” RFC 8446, IETF, 2018.











