You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Miles Libbey <ml...@apache.org> on 2014/02/05 19:10:18 UTC

Re: Cache almost full. What next ?

Wednesday, February 5, 2014, 10:32:09 AM, you wrote:
>> On Tue, Feb 4, 2014 at 6:10 PM, John Plevyak <jp...@gmail.com>wrote:
>>  
>> You can pin stuff in the cache for a given time.  There is also a bit evacuation feature which should keep fresh content in the cache of it is accessed with any frequency.
>>  
>> Is this second feature you are talking about the thing that evacuates content that is currently being served, or is there something else?
>
> Something else. See `proxy.config.cache.hit_evacuate_percent`. I wonder if that's documented...need to check.

https://trafficserver.readthedocs.org/en/latest/reference/configuration/records.config.en.html#proxy-config-cache-hit-evacuate-percent

> What this does is when a cache item is hit, if it is within that percent of the stripe size of the write cursor, it is marked for evacuation even if it is not being accessed at the time the write cursor reaches it.

Re: Cache almost full. What next ?

Posted by Phil Sorber <so...@apache.org>.
On Wed, Feb 5, 2014 at 11:10 AM, Miles Libbey <ml...@apache.org> wrote:

> Wednesday, February 5, 2014, 10:32:09 AM, you wrote:
> >> On Tue, Feb 4, 2014 at 6:10 PM, John Plevyak <jp...@gmail.com>wrote:
> >>
> >> You can pin stuff in the cache for a given time.  There is also a bit
> evacuation feature which should keep fresh content in the cache of it is
> accessed with any frequency.
> >>
> >> Is this second feature you are talking about the thing that evacuates
> content that is currently being served, or is there something else?
> >
> > Something else. See `proxy.config.cache.hit_evacuate_percent`. I wonder
> if that's documented...need to check.
>
>
> https://trafficserver.readthedocs.org/en/latest/reference/configuration/records.config.en.html#proxy-config-cache-hit-evacuate-percent


Nice. I wasn't aware of this before. Thanks.


>
>
> > What this does is when a cache item is hit, if it is within that percent
> of the stripe size of the write cursor, it is marked for evacuation even if
> it is not being accessed at the time the write cursor reaches it.
>

Re: Cache almost full. What next ?

Posted by Phil Sorber <so...@apache.org>.
On Wed, Feb 5, 2014 at 11:10 AM, Miles Libbey <ml...@apache.org> wrote:

> Wednesday, February 5, 2014, 10:32:09 AM, you wrote:
> >> On Tue, Feb 4, 2014 at 6:10 PM, John Plevyak <jp...@gmail.com>wrote:
> >>
> >> You can pin stuff in the cache for a given time.  There is also a bit
> evacuation feature which should keep fresh content in the cache of it is
> accessed with any frequency.
> >>
> >> Is this second feature you are talking about the thing that evacuates
> content that is currently being served, or is there something else?
> >
> > Something else. See `proxy.config.cache.hit_evacuate_percent`. I wonder
> if that's documented...need to check.
>
>
> https://trafficserver.readthedocs.org/en/latest/reference/configuration/records.config.en.html#proxy-config-cache-hit-evacuate-percent


Nice. I wasn't aware of this before. Thanks.


>
>
> > What this does is when a cache item is hit, if it is within that percent
> of the stripe size of the write cursor, it is marked for evacuation even if
> it is not being accessed at the time the write cursor reaches it.
>