hallo 
At Kees' advice here a short version of my preveaus mail on this
subject.

I have developed a small framework for plugin release strategies on the
QueryResultCache class, which is the base for all query caching caches.
I think this is nessecary becous the current system invalidates cache
entries way to easily, and i think a huge performance boost can be
achieved with this extention
It's features will be:

- stacking of any number of strategies that are being called
hyrarchically until a cache entry dous not need to be invalidated
anymore
- loading and unloading of strategies at runtime
- performance measuring for each strategy, accesible through the
tools/caches admin page
- easy creation of your own specialized strategies by means of extending
an AbstractStrategy

the invalidation of query caches is triggered by node events. to be able
to write smart release strategies we need more information than the
current event model provides. I have created a different event model,
that uses MMNodeEvent and MMRelationEvent bean objects, and that contain
more information about the event. 

What yet has to be done is adapt the SharedStorage to accomodate sending
and receiving (serializable) event objects

As kees points out, this should probably be a project, becouse I would
like to have some cooperation on some poinst.

for more information i piont to my preveausly send mail on this subject.
Please respond.

Ernst



-----------
Ernst Bunders
tel: 035 6711653
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to