[ZODB-Dev] Relstorage memcache object lifetimes

Shane Hathaway shane at hathawaymix.org
Thu Aug 16 21:07:15 UTC 2012


On 08/14/2012 09:59 AM, Daniel Garcia wrote:
> 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).

I wouldn't expect any stability issues.

Shane



More information about the ZODB-Dev mailing list