Load balancing between multiple clusters
There are various ways to configure running services in multiple clusters, often involving complex and costly add-ons like global load balancers. A global load balancer can be thought of as a traffic cop – it knows how to direct incoming traffic between multiple endpoints. At a high level, you can create a new DNS entry that the global load balancer will control. This new entry will have backend systems added to the endpoint list and based on factors like health, connections, or bandwidth, it will direct the traffic to the endpoint nodes. If an endpoint is unavailable for any reason, the load balancer will remove it from the endpoint list. By removing it from the list, traffic will only be sent to healthy nodes, providing a smooth end user experience. There’s nothing worse for a customer than getting a website not found error when they attempt to access a site.
Figure 5.7: Global load balancing traffic flow
The figure...