GSLB uses several methods to route users to the best data center:
Geographic: Route to the physically closest location. Uses GeoIP databases to map client IPs to countries or regions.
Latency-based: Route to the lowest-latency location. Measures actual network round-trip times.
Performance-based: Route to the location with best current performance. Considers server load, not just network latency.
Failover: Primary location handles all traffic until it fails. Secondary activates only during outages.