RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Dieter Maurer
Brian Lloyd writes: > Soren Rough writes > > ... application level cache ... > > ... application objects flushed (including cache) > One approach would be to cache your data in the module's > namespace. For ex: > > mycache={} > > class MyClassThatKeepsGoingAway: > ... > def get_

RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Brian Lloyd
> 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 i

[Zope] Python, persistent objects and caching

2000-09-07 Thread Soren Roug
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