[Zope-PAS] Re: RFC: PAS caching
jim at zope.com
Tue Oct 12 03:28:27 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'
> - Inside the PAS instance it is possible to create RAM Cache Manager
> - 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?
Overall yes, and for Zope 2 in particular. IN Zope 3, PAS instances are
not containers. Plugins can still utilize the caching architecture
using cache utilities.
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope-PAS