[dev] Horde_Cache_Memcache potential problem?

Jan Schneider jan at horde.org
Fri Jan 13 07:12:30 PST 2006


Zitat von Didi Rieder <adrieder at sbox.tugraz.at>:

> could it be that also horde sessions are marked as expired when doGC
> (garbage collection) is called?
>
> _doGC() is actually calling Memcache::flush() which is invalidating
> all cached items on the memcached server by setting them as expired,
> so they can be overwritten by new entries.
>
> The problem could rises when one uses the same memcached server(s) for
> sessions and cache.
>
> If I was thinking right about this (please correct me if I'm wrong),
> it would be nice to have a more intelligent garbage collection.

True.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list