top | item 4280516

(no title)

gdamjan | 13 years ago

CDNs could solve this by using BGP anycast routing.

discuss

order

jemfinch|13 years ago

CDNs are typically used for transferring large objects, for whom the anycast routing instability is a real concern. If a client's anycast endpoint changes in the middle of a connect, the client will receive an immediate RST from the new server.

astrodust|13 years ago

Does this work with TCP? The only implementations I've seen are for UDP which is stateless and unaffected by route flap.

le|13 years ago

Major CDNs do use anycast routing, in conjunction with DNS/geolocation based routing in locations where anycast's results would be unpredictable (usually in locations where there are many POPs.)

amalcon|13 years ago

In theory yes, but BGP anycast routing is really bad in performance terms. BGP doesn't care about performance, only politics and cost, so you can get all sorts of weirdness.