question about the LRU

Steven Grimm sgrimm at facebook.com
Fri Jan 4 16:31:26 UTC 2008


On Jan 4, 2008, at 12:55 AM, Tomash Brechko wrote:
> I guess you fill up 1MB rather quickly, so the item in question is
> never repositioned in LRU queue, and eventually popped off despite the
> fact of being accessed frequently.

That's almost certainly it. In general, if you're cycling through your  
entire cache in under 1 minute, it's a sign that either (a) your cache  
is WAY too small, or (b) you're doing a stress test that isn't  
anything close to representative of real-world conditions. (Or both,  
in this case.)

-Steve


More information about the memcached mailing list