Chapter 5. Discovering Services Running in a Cluster
When there are large numbers of members in a deployment, it's very important for the system to have easy manageability with the least human intervention possible. Human interventions tend to have human errors associated with them, making the system unstable. Imagine a scenario where there is a load balancer, which distributes HTTP traffic to multiple servers. If any servers go down or come up, it's very important that the load balancer knows about a node or service addition or deletion automatically without manual intervention, else it will be a nightmare managing such deployments. Service discovery ensures that the load balancer is aware of the currently active instances of services; based on this, it can take routing decisions.
This chapter explains the need and mechanism for the discovery of services running on a cluster.
This chapter covers the following topics:
- Introduction and necessity of service discovery
- Mechanism...