Anycast
Also called: IP anycast, anycast service
Anycast makes the same service address reachable from multiple locations. Routers direct a packet toward one of those locations using their routing information and policy. This can distribute demand and offer alternative destinations when routes change, without requiring clients to choose a different service IP address.
For example, two DNS sites can announce routes for the same service address, and a resolver’s query reaches whichever site its network’s route selects. “Nearest” means preferred by routing, not necessarily closest on a map. Packets are not copied to every site. Route changes can also move traffic between locations, so applications with long-lived connections or shared state need to account for that possibility.
- Read first
- Routing
- Further reading
- IETF RFC 4786 — Operation of Anycast Services