NORMA eResearch @NCI Library

Enhancing Resilience in Spring Cloud Gateway using a Dynamic Heartbeat Algorithm in Eureka Service Registry

Mohanan, Soumya (2024) Enhancing Resilience in Spring Cloud Gateway using a Dynamic Heartbeat Algorithm in Eureka Service Registry. Masters thesis, Dublin, National College of Ireland.

[thumbnail of Master of Science]
Preview
PDF (Master of Science)
Download (1MB) | Preview
[thumbnail of Configuration Manual]
Preview
PDF (Configuration Manual)
Download (2MB) | Preview

Abstract

In modern distributed systems, the microservices architecture is preferred due to scalability, flexibility, and resilience. Spring Cloud Gateway is quite important in management and routing of requests in these environments. However, maintaining availability and scalabilities particularly during network outage and services disruptions poses significant challenges. This research thus presents a heartbeat system that is dynamic in nature for the Eureka Service Registry of the microservices to improve on their communication . The system dynamically changes the heartbeat intervals in accordance with the load of the microservices which depends on the rate of CPU usage, memory usage and request throughput using OSbean libraries. This approach is to minimize the number of times the Eureka server is called for in the process by reducing response during low traffic and improve system response during high traffic. Additionally, as for the retry mechanism, this study aims at improving the existing retry mechanism by utilizing the Eureka registry to improve retries and fallbacks. Therefore, the effectiveness of the method is assessed by load testing under different parameters, failure scenarios and comparison testing with traditional configurations. Based on the findings of this study, it can be concluded that the dynamic heartbeat intervals enhance the system performance and responsiveness to a greater extend. This way, the system is able to identify problems as intervals are varied depending on the load. as fast as every 9 seconds under high load and, as a result, enhancing the performance and issues can be identified early contrary to the default 30 seconds default heartbeat transfer.

Item Type: Thesis (Masters)
Supervisors:
Name
Email
Samarawickrama, Yasantha
UNSPECIFIED
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 08:35
Last Modified: 04 Jul 2025 08:35
URI: https://norma.ncirl.ie/id/eprint/8037

Actions (login required)

View Item View Item