Re: Problems with choosing faster parent cache!

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 18 Oct 1999 21:10:05 +0200

Bartlomiej Solarz-Niesluchowski wrote:

> So how theoretically select for eg. domain_a squid yyy for domain_b squid
> xxxx (or automatically - xxxx is selected when RTT from xxxx to any_domain
> is lower, yyyy is selected when RTT from yyyy to any_domain is lower)?

You could use never_direct, then Squid will ICP ping on all requests,
even those where it would normally not use ICP. Forcing never_direct
when it isn't needed is however far from the ideal situation.

Selecting domains can be done with cache_peer_access or
cache_peer_domain directives.

If you have one parent which you see as preferred, then configure it as
a default parent, and weight it to always win ICP miss queries.

cache_peer your.preferred.parent parent 3128 3130 weight=10 default [and
any other options you see fit]

--
Henrik Nordstrom
Squid hacker
Received on Mon Oct 18 1999 - 17:51:28 MDT

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