See expired keys?

Brian Moon brianm at
Wed Feb 21 15:27:51 UTC 2007

Sam G. wrote:
> Mostly I'm wondering for the keys that I don't set expiration for: are 
> they being pushed out of cache? Or do I actually have plenty of room, 
> and I can store a lot more. I'd like to know either at what rate am I 
> pushing out non-expiring keys, or what is the average lifetime of a 
> non-expiring key before it gets pushed out of cache.

As I have written before, looking at your hit/miss ratio is the best way 
to determine your cache effectiveness.  We see a 900:1 hit:miss ratio. 
That is a great ratio for us as we only leave some things in cache for 
an hour, and never more than a day.


Brian Moon
It's good to be cheap =)

More information about the memcached mailing list