Optimized strategy in cloud-native environment for inter-service communication in microservices

dc.contributor.advisorPerera, I
dc.contributor.authorWeerasinghe, LDSB
dc.date.accept2025
dc.date.accessioned2025-11-21T07:58:29Z
dc.date.issued2025
dc.description.abstractMicroservices architecture has become the most popular architecture for building scalable and flexible applications due to its inherent advantages over monolithic and Service-Oriented Architecture (SOA) systems. It allows developers to scale individual components independently, improve maintainability through smaller codebases, and increase resilience by isolating service failures. Additionally, microservices are well- suited for cloud-native environments, supporting containerization and orchestration platforms. However, transforming monolithic systems into microservice-based systems introduces challenges with inter-service communication, leading to performance bottlenecks and increased latency due to the decentralized and distributed nature of the architecture. This research addresses the above challenge by proposing a novel communication model for cloud-native environments, focusing on optimizing inter-service communication in microservice architecture. The proposed strategy operates on top of the TCP network layer rather than the application layer, leveraging TCP streams but using a request-response-based communication model. All distributed systems typically rely on TCP-based communication over a network. To reduce the overhead of opening and closing socket connections, the proposed strategy persists the TCP connection when a microservice starts and maintains it until the service goes down. This solution reduces network resource consumption by serializing messages into binary form, thereby enhancing response times and application throughput. When sending messages over the TCP connection, we have established a method for ensuring exact-once delivery, improving the reliability and efficiency of message transfer. The proposed solution was implemented within a microservice architecture and deployed in a cloud-native environment to assess its effectiveness for cloud-native applications. The solution has been evaluated against the traditional HTTP-based communication method in the same microservice-architected environment and has shown improved performance in terms of latency and overall throughput. This research offers a robust communication model for microservices that addresses performance challenges while maintaining compatibility with cloud-native concepts. The proposed approach is a step toward optimizing microservices communication, enabling developers to build scalable, efficient, and resilient applications in distributed environments.
dc.identifier.accnoTH5870
dc.identifier.citationWeerasinghe, L.D.S.B. (2025). Optimized strategy in cloud-native environment for inter-service communication in microservices [Doctoral dissertation, University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/24435
dc.identifier.degreeDoctor of Philosophy (PhD)
dc.identifier.departmentDepartment of Computer Science & Engineering
dc.identifier.facultyEngineering
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/24435
dc.language.isoen
dc.subjectSOFTWARE ARCHITECTURE
dc.subjectCLOUD COMPUTING-Cloud-Native Environment
dc.subjectMICROSERVICE ARCHITECTURE
dc.subjectINTER-SERVICE COMMUNICATION
dc.subjectDOCTOR OF PHILOSOPHY-Thesis
dc.subjectCOMPUTER SCIENCE AND ENGINEERING-Thesis
dc.subjectDoctor of Philosophy (PhD)
dc.titleOptimized strategy in cloud-native environment for inter-service communication in microservices
dc.typeThesis-Full-text

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH5870-1.pdf
Size:
766.31 KB
Format:
Adobe Portable Document Format
Description:
Pre-text
Loading...
Thumbnail Image
Name:
TH5870-2.pdf
Size:
250.28 KB
Format:
Adobe Portable Document Format
Description:
Post-text
Loading...
Thumbnail Image
Name:
TH5870.pdf
Size:
3.72 MB
Format:
Adobe Portable Document Format
Description:
Full-thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: