Oli, Ashish (2024) Performance improvement in Communication Protocols in Node.js-based Microservices framework for Enhanced Latency and Scalability in Globally Dispersed Systems. Masters thesis, Dublin, National College of Ireland.
Preview |
PDF (Master of Science)
Download (1MB) | Preview |
Preview |
PDF (Configuration Manual)
Download (915kB) | Preview |
Abstract
This research measured the performance of HTTP and gRPC as communication protocols within a Node.js framework running in a distributed environment. The objective was to learn how these protocols would impact latency, throughput, and resource utilization in a distributed microservices architecture. This research implemented both an HTTP server and a gRPC server and benchmarked them to get full data on their performance metrics. The results show that gRPC performed better in latency than HTTP, at 183.16 ms against that of HTTP at 811.52 ms. This latency reduction is very critical for real-time applications requiring fast response times. Again, gRPC is more resource-efficient, as manifested by its low consumption of CPU and memory usage and reduced network bandwidth consumption, making it very suitable for large distributed applications.
Despite this, high throughput is combined with a large number of failures and high latency of the HTTP server, which became a good vivid case on how far it is from being reliable under heavy loads. The distinction of the gRPC server in performance comes from the efficient serialization via Protocol Buffers and support for HTTP/2, owing to which it is able to provide both better performance and fine-grained scalability. The current work outlines the importance of choosing the right communication protocols for microservices and gives some useful insights into the optimization of distributed systems. This research contributes several practical recommendations regarding the performance and scalability of microservice architectures and their communication protocols, which would be beneficial for developers and organizations that aim to enhance these features of their distributed applications.
Item Type: | Thesis (Masters) |
---|---|
Supervisors: | Name Email Heeney, Sean UNSPECIFIED |
Uncontrolled Keywords: | Microservices; Distributed systems; NodeJS; Cloud |
Subjects: | Q Science > QA Mathematics > Electronic computers. Computer science T Technology > T Technology (General) > Information Technology > Electronic computers. Computer science T Technology > T Technology (General) > Information Technology > Cloud computing |
Divisions: | School of Computing > Master of Science in Cloud Computing |
Depositing User: | Ciara O'Brien |
Date Deposited: | 04 Jul 2025 09:23 |
Last Modified: | 04 Jul 2025 09:23 |
URI: | https://norma.ncirl.ie/id/eprint/8044 |
Actions (login required)
![]() |
View Item |