Skip to Main Content

Intelligent Advisor

Optimizing OPA Rulebase

Snehal TendulkarSep 12 2018 — edited Sep 20 2018

Couple of questions with regards to optimizing rules and improving performance in OPA.

Question 1:

  • Which of the below is the effective way to write a rule in OPA in terms of performance as well as maintenance?
  • Writing rule as Option #1 reduces the rule count in the rulebase. Does this help with optimizing the rules?

Option #1:

pastedImage_44.png

Option #2:

pastedImage_7.pngpastedImage_8.png

Question 2:

Does the XML Tree Structure (depth of the tree OR number of child nodes) affect the performance of the OPA rulebase?

Option #1:

pastedImage_39.png

Option 2:

pastedImage_40.png

Thanks,

Snehal

This post has been answered by Brad Tuckett-Oracle on Sep 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2018
Added on Sep 12 2018
2 comments
163 views