Cache Expiry

Alex Stapleton alexs at
Fri Nov 4 08:20:10 PST 2005

On 4 Nov 2005, at 15:47, Andrew Miehs wrote:

> Dear List,
> I was just wondering how the cache expires/ removes records when it  
> is full.
> What basis does it use to work out which records to purge?
> ie: How long ago they were last requested? Random?
> Thanks
> Andrew

iirc it's uses a plain old LRU (least recently used) approach. So the  
oldest things get wiped first.

More information about the memcached mailing list