[Zope-dev] Cache code in Shared/DC/ZRDB/DA.py
Tino Wildenhain
tino at wildenhain.de
Fri Nov 17 07:10:52 EST 2006
Chris Withers schrieb:
> Tino Wildenhain wrote:
>> I have a replacement started, which uses Cacheable mixin instead.
>> Advantage is, with RAM Cache Manager you can see the hits your method
>> cause and invalide the cache per object. I also introduced a execution
>> time treshold, so you can configure to only cache runtimes say above
>> 1 sec, leaving more room for long running queries.
>>
>> I think I should packe up what I have now (rough edges) so you
>> can have a look at it.
>
> I have to be honest, I'm looking to simplify, and this sounds a LOT more
> complicated...
And here it is (maybe it takes a couple of minutes to be visible)
http://www.zope.org/Members/tino/CachedZSQLMethods
http://www.zope.org/Members/tino/CachedZSQLMethods/CachedZSQLMethodsPrerelease/CachedZSQLMethods_0.1_alpha.tgz
Greets
Tino
More information about the Zope-Dev
mailing list