Re: [squid-users] Squid-cache clustering

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 07 Apr 2006 23:42:19 +0200

fre 2006-04-07 klockan 11:25 +0300 skrev wlagmay@yanbulink.net:
>
> Hi all,
>
> I just want to know if theres other way to cluster 2 or more Squid-cache/proxy?

Yes, in a number of different ways. In principle a proxy is just a
server like any with the big difference that there is no unique data
except for the config file which needs to be shared among the members of
the cluster, so it's about the simplest service you can find to
cluster..

Possible methods:

  - Layer 7 load balancers

  - Normal clustering using virtual IP addresses and software within the
cluster monitoring the state of other nodes and taking over IP addresses
when needed, and having clients distributed among these addresses using
external configuration (proxy.pac, manual config etc..)

  - Client-side load balancing using proxy.pac scripts.

  - round-robin DNS based load balancing

and probably a few additional methods as well..

If you use authentication then there is a few additional things to
consider:

  - Basic authentication is per proxy name, so proxy.pac based load
balancing may be a bit annoying unless the users is kept on the same
proxy during his whole session

  - NTLM/Kerberos and to some extent digest authentication is a bit
picky about the server identity so layer 7 load balancing may not be the
best there (easily confuses clients unless the setup is carefully done).

Regards
Henrik

Received on Fri Apr 07 2006 - 15:42:49 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT