Quote:
Originally Posted by Santrex
I don't think that there is an algorithm for that.
|
There is one.
Quote:
Originally Posted by bell
Hello,
I was just wondering how major companies manage to control traffic to their sites and how in case of an emergency divert or divide the traffic among its servers so that their server is never down. is there an algorithm that takes care of this?
|
Its called anycast.
Its a type of broadcast/announcement over BGP (border gateway protocol).
Basically, two servers in two different data-centers (or countries or wherever) have the same IPs and respond to the closest client request.