As you know many rule engines use Rete algorithm when processing rules and this algorithm constructs a tree so called Rete tree.
What is the ideal topology for Rete tree to ensure better rule processing performance? In other words, I want to know the tree topology a rule set should better correspond to for better performance.
Simply put, if you would like to use the
RetePlus
algorithm in your orchestration, use onlyDecision Trees
business rules.It's much faster when used this way. Although you may used in combination with other algorithms as well as
Sequential
(forAction Rules
, in this case).So your solution could be part of Action Rules (with
Sequential
) and part withDecision Tables
(withRetePlus
).Hope this helps.