[ZODB-Dev] Relstorage memcache object lifetimes

Daniel Garcia dgarcia at zenoss.com
Tue Aug 14 15:59:45 UTC 2012


Hi,

I've noticed that over time the number of objects in memcached grows
util memcached begins to evict old objects. I'm trying to figure out
how to size the memcached layer. Since there is no lifetime on the
objects they remain in the cache until they are evicted by memached.
Would there be any drawbacks to adding a lifetime (say 24 hours) to
objects? This way the number of objects in the cache would reach some
stable number (given enough RAM).

Regards,
Daniel Garcia


More information about the ZODB-Dev mailing list