[jboss-jira] [JBoss JIRA] Created: (JBRULES-1509) Performance issue with Drools 3.0
Naveen GAUBA (JIRA)
jira-events at lists.jboss.org
Mon Mar 17 14:45:51 EDT 2008
Performance issue with Drools 3.0
---------------------------------
Key: JBRULES-1509
URL: http://jira.jboss.com/jira/browse/JBRULES-1509
Project: JBoss Drools
Issue Type: Quality Risk
Security Level: Public (Everyone can see)
Components: Conflict Resolution
Affects Versions: 3.0.5
Environment: Windows XP Professional and Sun Solaris
Reporter: Naveen GAUBA
Assigned To: Mark Proctor
We are using Drools 3.0 in our project and facing some issues with the way it works.
We have lets say 3 rules in our drools file with different salience values and LHS (IF criteria). When we run the rules for a fact, the Rules Engine first asserts all the 3 rules irrespective of the salience value. Once the assertion is done the Rules Engine runs the appropriate rule according to salience.
Assuming that we had 10-20 rules in our drools file the Engine would have asserted all of them for all the facts and then executed the appropriate rules. But this whole process would consume a lot of processing time.
Could the Rule Engine take care of the salience feature while Asserting the Rules and stop when evaluation of LHS (IF criteria) for a Rule is TRUE. This way it can save some CPU cycles.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list