tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Cache additional condition evaluation data to minimize load times #54

Open dgrumieaux opened 9 years ago

dgrumieaux commented 9 years ago

In a lot of OpenContent's condition evaluators, we cache the results of expensive calls (getProperties, getContent, getRelations, get workflow information) so that those calls do not have to be repeated over and over when an action is being evaluated. This enhancement targets adding more caching logic where conditions are not taking advantage of the EvaluationCache for faster condition evaluation.

gsteimer commented 9 years ago

@benallenallen was talking to me about integrating Ehcache into the condition Evaluation Cache stuff a few days ago. @dgrumieaux - thoughts?

dgrumieaux commented 9 years ago

The tricky thing is we need to make sure to cache at multiple levels - both the results of a condition evaluating, and some of the inner queries that the conditions evaluation fires. If ehcache can take care of part or all of that, that would be great.

On Fri, Mar 6, 2015 at 12:37 PM, George Steimer notifications@github.com wrote:

@benallenallen https://github.com/benallenallen was talking to me about integrating Ehcache into the condition Evaluation Cache stuff a few days ago. @dgrumieaux https://github.com/dgrumieaux - thoughts?

— Reply to this email directly or view it on GitHub https://github.com/tsgrp/OpenContent/issues/54#issuecomment-77611154.