Welcome! Log In Create A New Profile

Advanced

Re: Cache questions

July 14, 2009 11:41AM
On Tue, Jul 14, 2009 at 11:28:15AM -0400, Jim Ohlstein wrote:

>
>
> Igor Sysoev wrote:
> >On Tue, Jul 14, 2009 at 09:26:22AM -0400, Jim Ohlstein wrote:
> >
> >
> >>Igor Sysoev wrote:
> >>
> >>>On Mon, Jul 13, 2009 at 11:09:34PM -0400, Jim Ohlstein wrote:
> >>>
> >>>
> >>>
> >>>>It is now logging "HIT" or "MISS" for each request in that location
> >>>>block.
> >>>>
> >>>>It is safe to assume that with fastcgi_cache_min_uses set at 2 that for
> >>>>every first miss shared memory is allocated, that the file is written
> >>>>to the cache on the second miss, and that each logged "hit" is an
> >>>>actual serve from the cache (third and subsequent requests for the
> >>>>file)?
> >>>>
> >>>>
> >>>Yes. Currently, there are "MISS", "EXPIRED", "STALE", "UPDATING", and
> >>>"HIT"
> >>>states. If you will think out a good name for state when miss is just
> >>>counted,
> >>>but not cached, I will make this state.
> >>>
> >>>
> >>>
> >>>
> >>"MISS-NOT_CACHED" fairly well tells the story, if it's not too long.
> >>Otherwise "MISS-NC".
> >>
> >>Or perhaps "MISS-COUNTING".
> >>
> >
> >May be just "COUNTING" ?
> >
> >
> So the first miss would be "MISS", subsequent misses would be
> "COUNTING"? Or vice versa? Either way would be good for me.

No, last miss will be MISS, while the previous ones will be COUNTING.
In case "..._cache_min_uses 1" the first will be MISS, since it's
the last miss. In "..._cache_min_uses 2": COUNTING, MISS.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Cache questions

Jim Ohlstein July 10, 2009 07:39PM

Re: Cache questions

Maxim Dounin July 13, 2009 07:33AM

Re: Cache questions

Igor Sysoev July 13, 2009 07:48AM

Re: Cache questions

Jim Ohlstein July 13, 2009 04:02PM

Re: Cache questions

Igor Sysoev July 13, 2009 04:17PM

Re: Cache questions

Jim Ohlstein July 13, 2009 08:45PM

Re: Cache questions

Maxim Dounin July 13, 2009 10:29PM

Re: Cache questions

Jim Ohlstein July 13, 2009 11:09PM

Re: Cache questions

Igor Sysoev July 14, 2009 01:21AM

Re: Cache questions

Jim Ohlstein July 14, 2009 09:26AM

Re: Cache questions

Igor Sysoev July 14, 2009 11:11AM

Re: Cache questions

Jim Ohlstein July 14, 2009 11:28AM

Re: Cache questions

Igor Sysoev July 14, 2009 11:41AM

Re: Cache questions

Jim Ohlstein July 14, 2009 11:55AM

Re: Cache questions

Marcus Clyne July 14, 2009 03:23PM

Re: Cache questions

merlin corey July 14, 2009 05:37PM

Re: Cache questions

Maxim Dounin July 13, 2009 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready