Main Page | See live article | Alphabetical index

Anycast

Anycast is a network addressing and routing scheme whereby data is routed to the "nearest" or "best" destination.

The term is intended to echo the terms unicast, broadcast and multicast.

On the Internet, anycast is usually implemented by using BGP to simultaneously announce the same destination IP address range from many different different places on the Internet. This results in packets addressed to destination addresses in this range being routed to the "nearest" point on the net announcing the given destination IP address.

Anycast is best suited to connectionless protocols like UDP, rather than connection-oriented protocols such as TCP, since the reciever selected for any given source may change from time to time as optimal routes change, silently breaking any conversations that may be in progress at the time.

For this reason, anycast is generally used as a way to provide high availability and load balancing for stateless services such as access to replicated data.

A number of the Internet root nameservers are implemented as large numbers of clusters of machines using anycast.

See also: