Memcached PHP Sessions
Larry Leszczynski
larryl at emailplus.org
Fri Feb 2 18:28:22 UTC 2007
On Fri, 2 Feb 2007, Steven Grimm wrote:
> However, neither your patch nor the above actually solves the
> fundamental problem with using memcached as a session store. The actual
> problem is that, for example, you might have 64MB devoted to memcached,
> but you can get a surge in usage and need to store 65MB worth of session
> data. Memcached is an LRU cache and will expire the oldest 1MB of data
> in that case, regardless of its expiration time.
Is it also correct that, in the above case, memcached would purge the
oldest 1MB of data (which may not be expired), and leave newer items in
the cache even though they have already expired?
Thanks,
Larry
More information about the memcached
mailing list