Re: ENTRY_SPECIAL => content pinning?

From: Joe Cooper <joe@dont-contact.us>
Date: Sat, 25 May 2002 15:05:34 -0500

Hi Yee Man,

I was looking at this myself. I think you've missed the store_swapout.c
reference to ENTRY_SPECIAL...if you made this the entry type for pinned
objects they would never get to disk.

I think adding a new type "ENTRY_PINNED" that behaves sort of like
ENTRY_SPECIAL, without the swapout limitation might be more intuitive
and self-explanatory for folks reading the code.

My thoughts have run to implementation details: Should pinning use ACLs
or a pattern like 'refresh_pattern'?

Yee Man Chan wrote:
> Hi
>
> I read some posts in isp-caching and people are
> talking about content pinning, ie store something in
> cache and it will never be purged. I see that in our
> removal policy modules, we ignore all ENTRY_SPECIAL
> entries. Is it true that if we set the objects we want
> to pin to ENTRY_SPECIAL, then we can achieve content
> pinning?
>
> Thanks.
> Yee Man
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Sat May 25 2002 - 14:05:43 MDT

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