Mark,
I know it refreshes when you change it if you have a page open and also when
you open the browser it downloads the autoconfig file. I tested this by
using Webanalyzer and watched the hits to my config.proxy from our
webserver. 1/2 a million hits in around 10 minutes. About 600 user online at
any one time where we use it.
Bill
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark A Lewis
Sent: Sunday, November 24, 2002 12:07 PM
To: 'Mike Coles'; [EMAIL PROTECTED]
Subject: RE: Load Balancing SquidGurad Servers


Does anyone know how often IE refreshes the autoconfig info? Is it with
each link or browser session?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mike Coles
Sent: Sunday, November 24, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: RE: Load Balancing SquidGurad Servers

> Chris,
> Yes we have been doing it for some time now to my understanding but we
get
> weird problems. Mark mentioned that Windows caches the DNS entries at
which
> my other reply about the proxy auto config would more than likely
work. I
> have used it before but never with 2 proxies.
> Thanks,
> Bill
>
> function FindProxyForURL(url, host) {
>       return "PROXY 1.2.3.4:8080; PROXY 1.2.3.5:8080";
> }
>
> Putting that in your proxy autoconfig file would perform your
failover. But
> load balance is not performed.
>
> One way to perform load balance is also through this script but you
would
> have to divide your network:
>
> if isInNet(host, "1.2.3.0", "255.255.255.0") {
>       return "PROXY 1.2.3.4:8080; PROXY 1.2.3.5:8080";
> }
> if isInNet (host, "1.2.4.0", "255.255.255.0" {
>       return "PROXY 1.2.3.5:8080; PROXY 1.2.3.4:8080";
> }
>

Why not make it time sensitive or random. Not proficient in javascript
so
here's some pseudo-code.

If even(time.second) { proxy 1.2.3.4:3128; proxy 1.2.3.5:3128} else {
proxy 1.2.3.5; proxy 1.2.3.4:3128}

Or based on a random number

if even(random()) ......

You could divide the random numbers up into different groups if your had
more than 2 servers


Mike coles
'bluelip'





**********************************************************
This message was virus scanned at siliconjunkie.net and
any known viruses were removed. For a current virus list
see http://www.siliconjunkie.net/antivirus/list.html




**********************************************************
This message was virus scanned at siliconjunkie.net and
any known viruses were removed. For a current virus list
see http://www.siliconjunkie.net/antivirus/list.html





Reply via email to