Re: [squid-users] Multiple servers running squid

From: Adam Aube <[email protected]>
Date: Sun, 31 Aug 2003 16:10:55 -0400

>Is it a good idea to run multiple servers with squid in a network
>with high traffic to spread the cpu consumption?

Squid will usually run into I/O bottlenecks long before CPU bottlenecks;
using multiple Squid servers is an effective way to alleviate this.

>Is it better to use 3 servers directly connected to one master squid
>server, so their cache disks are used simultaneously or each server
>independent and just spread the traffic between 'em?

A cache heirarchy (which is what the "master squid server" setup
is called) will provide better bandwidth savings (and likely better
response times) because servers can query other heirarchy members
before requesting an object from the Internet.

However, if these servers won't be on the same LAN, the bandwidth
needed for the servers to communicate will likely negate any bandwidth
savings in having a heirarchy.

>Is it better to have each server running its own DNS server localy?

It will eliminate a single point of failure, and if all this server
does is serve Squid DNS requests, it probably won't add a significant
load. I won't promise any specific benefits, but it certainly won't
hurt (so long as the DNS server software is properly setup and secured).

>Are there any downsides of using several servers instead of a much
>powerfull single one?

More hardware and maintenance costs. But multiple servers provide
failover and load distribution benefits that, in large environments,
more than outweigh these added costs.

You would probably get better advice if you gave more information
about the setup of your network and the number of users you plan
to support.

Adam
Received on Sun Aug 31 2003 - 14:31:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:18 MST