[rules-users] KnowledgeBase caching

krzysztofcislo krzysztof.cislo at gmail.com
Wed Apr 16 06:04:09 EDT 2014


Hi,

In our project we would like to cache KnowledgeBase once it's created
because compilation of rules takes long time and we can't afford to do it
every time we need to process rules.

Generaly we use ehCache as caching mechanism, but I am not sure if it's the
best way to just put KnowledgeBase  instance there. KnowledgeBase can have
many inner objects and total size calculation is not efficient (ehCache
complains about it). Setting count limit to cache object, and not memory
limit can lead to out of memory or at least application performance
degradation.

Did anyone try to cache this object and reuse it further?

Thank you in advance for answers.



--
View this message in context: http://drools.46999.n3.nabble.com/KnowledgeBase-caching-tp4029276.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list