[rules-users] Performance Tuning

Mark Proctor mproctor at codehaus.org
Mon Aug 6 19:28:04 EDT 2007


I assume you are on 3.0, as the properties system should be overhauled. 
However left beta node indexings should be true, for both 3.0 and 4.0. I 
can't remember if alpha node hashing is true or false in 3.0, but in 4.0 
its false as default and then gets turned on when you try to do dynamic 
rule additions. But in all honest you shouldn't be touching that stuff 
unless you really know what you are doing. Turning of left beta node 
indexing only improves performance for rules that are always activated 
from the root (first) pattern.

Mark

Yuri de Wit wrote:
> I am trying to improve performance on a Large DataSet, few Rules app
> and came accross these two properties, which by default is false:
>
> RuleBaseConfiguration.PROPERTY_INDEX_LEFT_BETA_MEMORY
> RuleBaseConfiguration.PROPERTY_HASH_ALPHA_NODES
>
> What do they mean actually? How and when should I use them?
>
> I am trying to chase a O(n^2) performance problem that I understand it
> is probably caused by the way I coded the rules, but it seems that I
> need to deepen my understanding to actually find the hotspots. Are
> there any techniques (that I probably dont know) that can help me find
> what rule(s) is causing the issue?
>
> As always thanks for previous answers
>
> - Yuri
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   




More information about the rules-users mailing list