Re: Using Squid to route around network routing problems

From: Anthony DeBoer <adb@dont-contact.us>
Date: 13 Feb 1997 16:40:03 -0000

Gregory Borodiansky <aliceoy@isracom.co.il> writes:
> > > Is there a way to have Squid fetch objects directly from the source,
> > > unless Squid cannot connect to the source.
> > > If Squid cannot fetch the
> > > object directly from the source, then attempt to fetch it from
> > > another Squid Cache?
> >
> There is a partial solution: use tag <source_ping on>.
> So, if source host will provide better response time, it'll be
> used directly. ...

This is part of the solution, since there's otherwise no way to know that
the direct network link is broken. Another part is to declare the other
squid as a parent, so that a MISS can be resolved through it. The
problem I've run into while actually trying this is that the ICP response
from the other squid will usually come back ahead of the UDP echo
response from the direct source, causing excessive traffic to be routed
via the other squid. I can't give it a weight less than the default "1"
value, and there's nowhere to assign a weight to the direct connection in
order to favour it more.

-- 
Anthony DeBoer <adb@geac.com>                    #include <std.disclaimer>
Received on Thu Feb 13 1997 - 08:45:55 MST

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