[Zope-PAS] Re: RFC: PAS caching

Tres Seaver tseaver at zope.com
Mon Oct 11 09:23:34 EDT 2004

Jens Vagelpohl wrote:
> After considering the comments so far and taking a closer look at the 
> RAMCacheManager I have come up with an idea along the lines of Tres' 
> suggestion:
> - Inside the PAS instance it is possible to create RAM Cache Manager 
> objects
> - Plugins for which caching makes sense mix in the ZCacheable mixin 
> class, and thus become "registerable" with these cache managers
> This solution leverages the existing cache manager architecture which 
> has been around for a long time and seems to offer enough flexibility. 
> It also satisfies my pet peeve of plugins not having to know about or 
> talk to the central PAS instance.
> The needed changes would include...
> - Changing PAS to allow creation of RAM cache managers
> - Changing plugins to mix in ZCacheable and making use of the 
> appropriate ZCacheable API when it comes to 
> retrieving/changing/inserting data
> Does that sound like a good idea?


Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com

More information about the Zope-PAS mailing list