AlgoViz

Global and local load balancing

medium 25 min

Traffic is steered twice: a global step picks the region with DNS or anycast, and a local step picks a server inside it.

Where it shows up

The same pattern appears across everyday software.

  • Amazon Route 53

    Routing policies by location, latency, weight, failover and more, with health checkers in several places. An endpoint counts as healthy when more than 18% of the checkers say so.

  • AWS Global Accelerator

    Static anycast addresses at the AWS edge, from where traffic goes to healthy endpoints in regions. No client DNS cache has to expire.

  • Google Cloud load balancing

    A single anycast address in front of backends in several regions, with automatic failover between them.

  • Azure Traffic Manager

    A DNS-based global balancer with priority, weighted, performance, geographic, multivalue and subnet methods.

  • Cloudflare Load Balancing

    Pools of endpoints with geographic, dynamic, proximity and least-outstanding-request steering.

  • DNS root servers

    13 names, about 2,000 machines: anycast in daily use by everybody.