[Zope-PAS] PAS Caching
Jens Vagelpohl
jens at dataflake.org
Mon Nov 8 04:40:17 EST 2004
> My experience with RAMCacheManager is that it is easier to write a
> simpler RAM Cache class than to try to configure / hack into the
> existing one because it is basically not granular enough and it uses a
> cache mechanism that is not necessarily adapted to the application's
> needs.
>
> For instance it knows nothing about the internal structure of the
> cached objects, and the business logic associated. Also the way the
> aggregated cache index is computed forces you to cache many more
> objects than it is required in reality.
>
> In the end I am using a simple RAM cache module to read and write in
> RAM, and the actual cache management part is embedded in the
> application code (lazy invalidation, event-based invalidation, ...)
> which RAMCacheManger was not designed to handle..
>
> http://cvs.nuxeo.org/cgi-bin/viewcvs.cgi/*checkout*/CPS3/CPSPortlets/
> PortletRAMCache.py?rev=1.1&content-type=text/plain
Thanks for the comment, but that decision has been made after some
discussion already. It *will* be RAMCacheManager.
jens
More information about the Zope-PAS
mailing list