Expiration Behavior

Jehiah Czebotar jehiah at gmail.com
Tue May 8 17:56:53 UTC 2007

On 5/8/07, Timo Ewalds <timo at tzc.com> wrote:
> As a point of interest, a reaper command could be useful. It is not
> something we would ever run while our site is live, but, if we're taking
> the site down to do a code update, and likely flushing or restarting
> memcache anyway, the time it takes to run wouldn't matter, and it would
> be a great way to see how much memcache space we really need. We're
> getting a 95% hit rate with our 30gb, but, would 10gb be enough? With
> the latest version we will be able to tell if we're getting any
> evictions, but that just tells us if we don't have enough space, not if
> we've got way too much.

There was talk of adding a new statistic to capture information about
the number of items pushed from cache before their expiration time;
that would also give you the same information.

I'm not sure if there was a patch for that, or if it is in the current release.


More information about the memcached mailing list