No, but evictions are tracked in stats, so if those are going up, then
items are being evicted to make space.

If you need to keep items around, then you need to make special
considerations, like making sure you have plenty of spare memory or having
separate memcache servers for all the expire=0 items, but honestly you
should probably take a look at a persistent key-value store instead, since
that is exactly what they're designed to do.  TokyoTyrant, for example,
does this and even speaks the memcached protocol (not sure if the same is
true for KyotoDystopia), so it can just be dropped in.
On Dec 16, 2011 12:44 PM, "Michael Bennett" <[email protected]> wrote:

> Hi-
>
> Is there a setting where memcached will log when it deletes a cache
> entry to make space for an incoming entry?  I am running with -vv and
> so far have not seen any such logs entries, but maybe I am missing
> it.  Reason I'm asking is I am storing some data with expire = 0, and
> some time later when I ask for that data, its not there.  Only reason
> I can think of is that its being kicked out to make room for other
> things.
>
> Thanks!
>

Reply via email to