Hugo Bouckaert wrote:

> If you have a very busy website, you probably want more than one server
> so access to the site is possible by a very large number of people
> simultaneously. I assume in such a case one would have several
> webservers, all of which have the same name, but a different IP address.
> For the Apache webserver, in httpd.conf, you would then give them all
> the same ServerName. But how is traffic spread between, say, 10 servers
> i.e. which mechanism decides that a page request by a client from the
> website is requested from machine 1 or machine 2 or machine 3 etc? 

The simplest solution is to simply specify multiple A records in the
DNS configuration, e.g.

        www     IN      A       199.199.199.101
                IN      A       199.199.199.102
                IN      A       199.199.199.103

and so on. The DNS server should randomise the ordering with each
request.

This won't help if most of your accesses come from a few networks
where all of the clients use the same caching DNS servers.

-- 
Glynn Clements <[EMAIL PROTECTED]>

-====---====---====---====---====---====---====---====---====---====---====-
 to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
 See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/

Reply via email to