2 ms·
Round Robbin DNS[0] is a simple method for balancing HTTP requests, done entirely at the nameserver. Let's say you have 3 servers, located at 3 separate IP addr
by samtho 11y ago
Round Robbin DNS[0] is a simple method for balancing HTTP requests, done entirely at the nameserver. Let's say you have 3 servers, located at 3 separate IP addresses. You create multiple A-Records, each pointing to a different IP address, and (in theory) the client will choose the fastest connection.
[0] https://en.wikipedia.org/wiki/Round-robin_DNS https://en.wikipedia.org/wiki/Round-robin_DNS
- chubot 11y agoWould clients actually choose the fastest connection? That page says that the client will typically choose the first address, so you can use this for load distribution among servers, but it doesn't say anything about client latency. If I have 5K users in US, 2K in Europe, and 1K in Asia, I wouldn't want the traffic to evenly distributed. I would want users to go to the closest/fastest server. The StackOverflow post above looks like a good start.