Updates:
Status: WontFix
Comment #1 on issue 132 by [email protected]: Need to keep item out of LRU
list
http://code.google.com/p/memcached/issues/detail?id=132
You should be able to do this in a storage engine, and we might offer it as
a startup
option at some point, but as a core feature this won't be happening anytime
soon.
- existing behavior is currently a largely desireable feature, especially
with "0
expire" items". Most users will end up setting items that are never fetched
again,
which will end up at the end of the LRU.
- for most users, they'll probably end up in a situation where they'll fill
up the
cache with 0 expire items and nothing else will work anymore. I know our
sites would
end up completely broken by enabling this.
- with enough free cache memory, this isn't often an issue anyway
- implementing it isn't simply a matter of "don't evict it if it's going to
be
expired". We'll need to track multiple item lists, items will need to know
what lists
they are part of so they can be tracked.
If you need this today, I would recommend running a side pool of
memcached's with the
-M (don't evict) option enabled. You can use a client wrapper to decide
that passing
an expiration time of 0 means to use this other cluster of memcached
instances. You
can be up in running in a few minutes if this is your desired behavior.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Subscription settings: http://groups.google.com/group/memcached/subscribe?hl=en