> 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'




Reply via email to