[Zope] [Ann] CacheControlled SQL Methods (CCSQLMethods) 0.2

Dieter Maurer dieter at handshake.de
Sun Jun 13 17:16:06 EDT 2004


Z SQL methods, Zope's abstraction of SQL queries or commands,
support caching of results. They use non-persistent attributes
to maintain the cache. However, such attributes are thread local.
Therefore, it is very difficult to flush the cache
when the application knows about the invalidation of
potentially cached information.
'CCSQLMethods' use a cache shared by
all threads that can be managed by any of the threads.
They provide for fine grained cache control.

New in version 0.2:

  *  "flushCache" now works reliably across independant ZEO client processes.
     Attention: "flushCacheEntry" still does not!

  *  a new ("FSZSQLMethod" derived) filesystem based variant
     of "CCSQLMethods"

  *  no longer a location dependancy on Z SQL Methods -- you
     can install "CCSQLMethods" in any products directory


More information and download:

  <http://www.dieter.handshake.de/pyprojects/zope/CCSQLMethods.html>


-- 
Dieter



More information about the Zope mailing list