Enhancing Microservice Performance: A Hybrid Model Combining Service Discovery and Circuit Breaker Patterns in Microservice Deployments
Year: 2024
Type: dissertation
Abstract: Microservices are a medium to contribute and build a dynamic, high functioning application that can be used worldwide by leveraging cloud services. The requirements can be easily integrated under different frameworks and the configurations that come with them. The main question that arises is what happens when any service of the application faces any issue or downtime. The application should be made flexible and scalable while keeping the factor of high availability in mind. With many organizations migrating to cloud-based infrastructures, it becomes complex to manage the response time and latency of the independent microservices. For instance, Amazon faces costs of 1% sales for every 100ms of delay van Vessum (2024). Therefore, enhancing the responsiveness of microservice dynamically, this paper explores two widely used design patterns: Service Discovery and Circuit Breaker. We conducted experiments using both patterns individually as well as a combined architecture on backed services developed using the Spring Boot Framework. Under the combination, it is observed that the Circuit Breaker pattern’s fault tolerance and resilience while service discovery’s efficiency for load balancing and dynamic routing brings together high performance architecture. The findings observed through experiments say that each pattern improves latency independently, while we proposed a hybrid model that significantly improves the performance by fourfold by harnessing the strengths of both patterns. This improvement contributes to the performance achieved that addresses the real issue of microservice latency, improving response time and making application fail safe.
Author: -, Ritika
Institution: National College of Ireland
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6990808257
