Balancing

From: Francis Mouthaud <[email protected]>
Date: Thu, 13 Nov 1997 15:54:33 +0100 (MET)

I have a little network of squid caches and I would like the main proxy to
use one proxy for one domain.

Let's say : france.freenet.fr for access to *.fr domains
and : usa.freenet.fr for access to *.us *.edu (etc.)
domains

I think it's possible with cache_host_domain and neighbor_type_domain, so
I do this on my main proxy :

cache_host france.freenet.fr parent 8080 3130 proxy-only
cache_host usa.freenet.fr parent 8080 3130 proxy-only

cache_host_domain france.freenet.fr .fr !.com !.net !.gov !.edu !.us
cache_host_domain usa.freenet.fr .com .net .gov .edu .us !.fr

neighbor_type_domain usa.freenet.fr parent .com .net .gov .edu .us
neighbor_type_domain france.freenet.fr parent .fr

Now the questions :

1) am I right ?

2) It would be smarter to use IANA addresses, do you have a hint how to
use IP addresses instead of domain names?

3) my usa.freenet.fr is connected to the net by satellite, it's very cool
for downloads, but the ping is 600ms at least... how to tell this to
squid?

Thanks for your reply

Francis

PS: *ANY* balancing exprience interests me

: Francis Mouthaud ^_^ Mailto:Mouthaud@freenet.fr : ()-()
| Ing�nieur chef de projets informatiques et r�seaux | ('.')
| Office: 33 01-64-52-64-64 / Fax: 33 01-64-09-54-71 | d . b
: FM170-RIPE MF93-ORG http://www.freenet.fr/bluepatch : ()_()
Received on Thu Nov 13 1997 - 07:11:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:31 MST