Global traffic failover

DesignHard45 minNetflix style

Your task

Design global traffic management for a service running in 8 regions worldwide. You must route each user to a healthy nearby region, fail traffic away from a region that goes down within seconds, drain a region for maintenance gracefully, and avoid sending a user to a far region just because it's marginally less loaded. Compare DNS-based vs anycast routing, and explain the failover and drain mechanics.

It covers

  • Anycast
  • Geo routing
  • Global traffic management