not really, all I can say is try and work with flat models and '==' operators for performance - we currently don't optimise != or number ranges. Avoid eval, predicate and return value unless you really need them. Keep your consequences short and avoid flow logic in them, i.e. 'if'/'switch ' statements.

Mark
Olenin, Vladimir (MOH) wrote:

Ok, found the descriptions – for anyone interested, you need to switch into ‘JBoss Rules’ prospective and open ‘Properties’ tab. This way whenever you select a node, information about the node would be displayed there (Properties tab won’t get activated automatically).

 

Mark, any general hints on correlations between diagram ‘look’ & performance implications? (eg, “the more ‘alpha’ nodes, the worse/the better is performance”, “the more connections to the node, the ____ is performance”, etc)

 

Thanks

 


From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mark Proctor
Sent: 09 March 2007 18:18
To: Rules Users List
Subject: Re: [rules-users] Rete diagram legend - what do all the colors mean?...

 

yes if you understand the rete diagram you can can help it with understanding performance. If you click on a node it tells you the type. Which are roughly
root, object type node, alpha node, join node, not node, exists node, eval node and terminal node. Can't remenber which has which colour, but you should be able to figure it out, we discuss the node types briefly in the manual.

Mark
Olenin, Vladimir (MOH) wrote:

Hi,

 

I was trying to make some sense out of Rete Diagram for my rules (DROOLS 3.1M), and one of the questions I have is what all these colors mean? There are red, blue, yellow, green, orange, white, cyan and black circles…. I might be wrong, but I think this should mean something!

 

Also, I noticed that by default the diagram is displayed in ‘layers’ of dots. In my case I have 7 layers, the top one being the ‘root’ I assume (single white circle). The ‘widest’ layer is the middle one – the forth layer. So, generally the diagram has a diamond shape. I wonder if one can use this kind of visual information to make a rough estimation/assumption on how efficient his rules/constraints are, some hints into optimization, etc….

 

 

Thanks,

 

Vlad 

 

 



 
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  

 


_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users