[Zope-dev] Re: Caching ZCatalog results

Tres Seaver tseaver at palladion.com
Fri Feb 23 06:55:17 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roché Compaan wrote:
> I'm curious, has anybody played around with the idea of caching ZCatalog
> results and if I submitted a patch to do this would it be excepted?
> 
> I quickly coded some basic caching of results on a volatile attribute
> and I was really surprised with the amount of cache hits I got
> (especially with a Plone site that is a heavy user of the catalog)

+1.  I think using the 'ZCachable' stuff (e.g., adding a RAMCacheManager
and associating a catalog to it) would be the sanest path here.


Tres,
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3tYk+gerLs4ltQ4RAmffAKCkerAZAvx3mpdThPO4EY9/Gjyf8wCfY7BQ
kScipo29nNJy/LiJrLit0OY=
=iay0
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list