RE: [squid-users] Load Balancing & redundancy

From: Lightfoot.Michael <Lightfoot.Michael@dont-contact.us>
Date: Tue, 5 Nov 2002 11:52:45 +1100

> Hi all, i want to implement load balancing with
> redundancy in my squids.
>
I posted a message on this topic a couple of days back. At a previous site we implemented round-robin in the browser via proxy.pac (or the M$ silly renaming of it if you like) which randomly set the proxy preference between two servers. The browser, on a per session basis, selected one or the other as the first proxy in the list.

My memory is a little vague on the actual implementation details (too many Guinesses between then and now <G>) but we used a perl script to generate the javascript which ran in the browser. It was the per script which used random selection of two different proxy lines for the javascript. You probably need to look at the docos on how to make a proxy.pac.

One other solution is to simply partition your users into two groups with different proxy settings. Another thing to note is that all servers in our cache chain (4 or five levels) had a default parent and another failover parent. Failover took of the order of a second during the busy part of the day (needs 10 requests to fail if I remember rightly).

Michael Lightfoot
Unix Consultant
ISG Host Systems
Comcare
+61 2 62750680
Apologies for the rubbish that follows...
------------------------------------------------------------------------
NOTICE: This e-mail message and attachments may contain confidential
information. If you are not the intended recipient you should not use or
disclose any information in the message or attachments. If received in
error, please notify the sender by return email immediately. Comcare
does not waive any confidentiality or privilege.

Comcare's Canberra and Melbourne offices have moved to new premises.

We hope this notice makes it easier for you to update your records.
 
New street addresses:
 
Canberra office
Level 1
14 Moore street
CANBERRA CITY ACT 2601

Melbourne Office
Level 2
121 William Street
MELBOURNE VIC 3001
Claims Fax Number 03 9620 4721

Please call Comcare on 1300 366 979 if you have any queries.
Received on Mon Nov 04 2002 - 17:52:50 MST

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