configuring fallback parent

From: Joern Clausen <joern@dont-contact.us>
Date: Thu, 6 Feb 1997 14:06:24 +0100 (MET)

-----BEGIN PGP SIGNED MESSAGE-----

Hi everyone!

We are currently in the process of creating a hierarchy of proxies at
our university. The idea is, to have one central proxy, which talks with
the outer world (i.e. higher levels in the german cache hierarchie), and
about one proxy per faculty. These proxies are siblings to each other, and
talk to the outer world only through the central proxy. This setup itself
is rather easy and causes no problems.

The question is: What happens, when the central proxy is not available?
We are searching for a clever method, to configure one of the siblings
as a fallback parent, that is only used as parent, when the central one
fails.

I came up with this: Every sibling (except S1) has this configuration:

cache_host P1 parent xxxx yyyy
cache_host S1 sibling xxxx yyyy
cache_host S1 parent xxxx yyyy no-query

So that S1 is usually not used as parent. But when we tested this, a lot
of requests from a sibling S2 were either requested as TIMEOUT_DEFAULT_PARENT
from S1, or as TIMEOUT_DIRECT from the original server. I would have expected
to see SINGLE_PARENT, or something similar. Especially, I did not expect so
many DIRECT fetches. So this does not seem to be the solution.

An other possiblity (though not a very "nice" one), is probably

cache_host P1 parent xxxx yyyy weight=10000
cache_host S1 parent xxxx yyyy weight=1

but we haven't tested this.

Are there any better solutions? I guess, we're not the only university,
that wants a setup like this.

What about a new tag "fallback" for the cache_host list?

- --
     Joern Clausen email: joern@TechFak.Uni-Bielefeld.DE

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: ascii

iQCVAgUBMvnXSd0jU/8wKfL5AQEihgQAmM5O4E+Z4foJChw3vV/ekM73aUg3UTar
VBe4JA3LxJ4n2etQV/rHNpAq5Nis9Wc/xwuTJ0j7/tBkp92bkD96xfPMBeT0C6y6
oJ+rBNz++Aab4f4e+DIDg7CY6T8G65DisD1zplbAIiFBw5hZ/X01zbmtGyIazYBw
PaNcPkae5Us=
=TAqO
-----END PGP SIGNATURE-----
Received on Thu Feb 06 1997 - 05:14:48 MST

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