Implementing the Eureka service discovery and client-side load balancing

Although it is acceptable to call microservice endpoints directly from the Eureka server, explicitly through its machine name and ports, Spring Cloud offers automatic service discovery which makes RESTful service execution free from hardcoding the service URL. When it comes to duplicate instances for backup and recovery purposes, this recipe will define the concept of client-side load balancing wherein an algorithm is used to determine the most viable and healthy instance to utilize in executing the endpoints.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.36.38