Service discovery is the process of taking the name of a service as an input and getting a network location of an instance of that service as an output. Discovery is the backbone of any organization practicing highly available microservices.
To achieve high availability, you need to run many instances of each microservice. Ideally, you scale the number of services as load increases, and you’re always running a few spares in case an instance fails or there’s an unanticipated spike in traffic. Instances need to be able to find and communicate with other instances, and managing all these ...