[Zope] Python, persistent objects and caching

Soren Roug soren@roug.org
Thu, 07 Sep 2000 12:00:24 +0200


Hi,

I'm developing a Python-based product that uses persistent objects in
ZODB to store its configuration. No surprises there, but my product is
also using volatile attributes to do a bit of caching of its own. The
thing is, when ZODB takes a sweep every 60 seconds to flush it's own
cache it will quite often flush my product as well, essentially
rendering my 15 minute caching ineffective.

If there a way I can prevent this from happening?

References:
http://www.zope.org/Members/MikeP/volatile
http://www.zope.org/Members/Zen/tips/VolatileAttributes

Soren Roug