Re: [squid-users] HTCP cache expiration - how does it work?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 18 Oct 2001 13:31:48 +0200

I am not familiar with HTCP, but I seriously doubt it can do what you
want.

Using the HTTP PURGE method (a Squid extension) you can force each cache
to remove an cached object from the cache, only returning a minimal
response to the effect. If you need to purge very frequently the
performance can be optimized using persistent connections between your
publishing system and the caches, giving performance close to what can
be achieved using a UDP based protocol while guaranteeing delivery.

Regards
Henrik Nordström
Squid Hacker
MARA Systems AB, Sweden

Klavs Klavsen wrote:
>
> Hi all,
>
> I'm new at squid.. I'm trying to setup an environment to handle a very big
> load (9 million pageviews a week - approx. 200 million hits a week).
>
> My thought was that I would setup a number of squid-siblings (10-20) -
> which would serve all the static pages for all our sites.. The siblings
> would refresh their information from 2-3 parent caches - and never from the
> origin.. (as they are it seen from a dns-stand point).
>
> My problem however, is that some of our static pages, change quite often..
>
> My idea was to set the expiration time for the squid-siblings with a
> refresh_pattern of 99999 min. and override-expire, reload-into-ims and
> ignore-reload and
> since I control the origin servers, I would be able to update the static
> pages when needed, and push the changes to the squid servers.
>
> I know the client program, can contact a squid-server and force it to
> refresh an url.. (which would work - but if you have 30 servers that's
> perhaps a lot for each page?)
>
> I was thinking of using HTCP between the siblings and parents, so that I
> would only have to use the client program to force-refresh on the parents..
> and then HTCP would refresh the siblings..
>
> Is that possible? how should you configure squid for this to work?
>
> The requirement for this setup is Instant-refresh (within 20 seconds or
> so..) of all squid-siblings.. and here I like the fact that squid waits to
> refresh the page, until it actually gets a client-request for it..
>
> I hope you can help me with HTCP and how it works, and wether it's
> applicable for this setup.
Received on Thu Oct 18 2001 - 05:30:51 MDT

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