What is a Service Discovery? The service discovery pattern uses a centralized server named “service registry” to maintain a global view of microservice network locations. Microservices update their location in the service registry at fixed intervals. Clients can connect to the service registry and get information about the location of the microservices.
There are 2 main service discovery patterns available to implement service discovery for microservices.
Client-side service discovery Server-side service discovery Why Do You Need a Service Discovery?