G'day,
> -----Original Message-----
> From: Tilo Lutz [mailto:TiloLutz@gmx.de]
> Sent: Monday, September 10, 2001 4:37 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Load Balance
>
>
> Hi
>
> I've got 2 uplinks:
> 1 SDSL 2Mbit
> and one ADSL ,8Mbit
>
> i've wnat to load-balance them with squid.
> Here's my setup
>
> 10MBit Hub
> |-Squid1----\ |
> | >--------- SDSL 2 MBit
> |-Squid2----/
> |
> |-Squid3-------------- ADSL 0,8 Mbit
> |
> | - 100Mbit - full switched
> |
> Client
>
> Squid1 is the main-proxy.
> Squid2 and Squid3 are parents of Squid1.
This is not the best way to load-balance 2 links. The best way is to use ICP
to different parents on the other end of your two links. I'm not sure if you
used squid2/squid3 just to split the traffic, or because you needed 3
proxies to handle the load. In any case, what you have proposed doesn't give
you much redundancy.
A better way is;
|-Squid1----|
| |--------- SDSL 2 MBit----Upstream Proxy1
|-Squid2----|
| |--------- ADSL 0,8 Mbit--Upstream Proxy2
|-Squid3----|
|
| - 100Mbit - full switched
|
Client
You configure Squid1->Squid3 all basically the same, with each other as
siblings, and both upstream proxies as ICP enabled parents. The clients can
then use any of your squids. You can use some sort of round-robining proxy
front end, or run a fail-over switching thingy that points the clients to
whichever squid is up and running. If you don't really need 3 Squids for the
load and/or redundancy, you can just use one.
The beauty of using ICP to both upstream parents is it automatically
load-balances the two links, and gracefully handles when either link goes
down. The price you pay is a tiny bit of extra ICP traffic, and a bit of
extra ICP latency. For this to work you require (different) ICP capable
proxies at the end of each link.
ABO
Received on Sun Sep 09 2001 - 18:01:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:06 MST