Expiration question
Steven Grimm
sgrimm at facebook.com
Wed Mar 28 18:17:23 UTC 2007
Memcached is an LRU cache, meaning the object that was least recently
used will be expired to make room for a new one. "Used" in this case
refers to either reading or writing. The behavior you want is exactly
what it does if you don't set any expiration time at all.
-Steve
Andrew Harbick wrote:
> Similarly... Can memcached be configured (or does it already) to
> update the expiration every time an object is touched? The idea being
> that "hot" keys end up staying in the cached (even if they're never
> modified and recached).
>
More information about the memcached
mailing list