Re: [squid-users] advanced caching question!!

From: Joe Cooper <[email protected]>
Date: Thu, 20 Feb 2003 18:58:18 -0600

Squid can select the outgoing address...

If you wrote a utility to perform your updates, Squid could force all of
its requests to go out of the satellite interface. I think ACLs can be
applied to tcp_outgoing_address to achieve what you're after. The
missing element is a utility that 'knows' enough about the Squid object
store, and enough about polite net behavior to do what you want to do
without angering site maintainers, or just wasting a lot of bandwidth on
objects that never get used (you could also very easily decrease your
hit ratio, because you're breaking the normal expiry behavior of Squid,
which makes room for newer popular objects). This is not the Right Way,
Chuck, except in /very/ select cases.

Try tuning your cache refresh_pattern for more aggressive caching first.
I suspect it is going to work much better for you than refreshing at random.

Chuck Dutrow wrote:
> Do you know of any way to setup/segment/config/isolate/etc my squid box so
> the satellite link will do the cache updates and not my T1?
>
> ----- Original Message -----
> From: "Joe Cooper" <joe@swelltech.com>
> To: <chuckdutrow@southpenn.net>
> Cc: <squid-users@squid-cache.org>
> Sent: Thursday, February 20, 2003 4:13 PM
> Subject: Re: [squid-users] advanced caching question!!
>
>
>
>>Just a thought...
>>
>>There are subscription services that do this with some level of
>>intelligence. They aren't terribly cheap, but they probably provide a
>>higher hit ratio than what you're proposing. Cidera is one such
>>service, and I think most of their competitors have left the field.
>>(Cidera doubled their rates about a year ago, and so I no longer know
>>anyone using the service--I can't say what the service is like these
>
> days.)
>
>>You might consider just using a more aggressive caching policy, to
>>increase your hit ratios...Even increasing the default refresh_pattern
>>to use 50% instead of 20% for 'guessed' expiry makes a noticeable
>>different in hit rates without a huge freshness drop.
>>
>>If you still need what you're asking for, you'll need to do some coding.
>> It isn't a trivial 'feature'.
>>
>>chuckdutrow wrote:
>>
>>>I have just added a satellite link to my network, I am using squid to
>>>cache http requests for my large network, I want to know if anyone
>>>knows
>>>how I can conf squid to use the satellite link to just constantly
>>>update my cache. I want this to work non stop, I dont want any of my
>>>users
>>>to ever hit a "stale" page. Also I currently have the cache updating
>>>via
>>>T1, I dont want the T1 to be used unless a new unseeded page is
>>>requested then once the initial page is seeded I want the satellite to
>>>constantly update it as well.
>>>
>>>Thanks for your help!!
>>>
>>>Chuck
>>
>>
>>--
>>Joe Cooper <joe@swelltech.com>
>>Web caching appliances and support.
>>http://www.swelltech.com
>>
>>

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Thu Feb 20 2003 - 17:58:23 MST

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