[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2596) Improve query performance
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Tue Jul 27 15:23:33 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli resolved JBRULES-2596.
------------------------------------
Resolution: Done
Fixed by adding an alternative implementation for the query listener that prevents fact handle cloning, highly improving the performance. Although, returned fact handles are subject to changes by other working memory actions acting on them.
To configure the listener to use, one can either use the system property:
drools.queryListener = < standard | lightweight >
Or use the API setting a session configuration:
KnowledgeSessionConfiguration ksconf = ...
ksconf.setOption( QueryListenerOption.STANDARD ); // this is the default
or
ksconf.setOption( QueryListenerOption.LIGHTWEIGHT ); // this is the alternate implementation
> Improve query performance
> -------------------------
>
> Key: JBRULES-2596
> URL: https://jira.jboss.org/browse/JBRULES-2596
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-api, drools-compiler, drools-core
> Affects Versions: 5.1.0.CR1
> Reporter: Edson Tirelli
> Assignee: Edson Tirelli
> Fix For: 5.1.0.FINAL
>
>
> Query performance degraded a lot from 5.0.x to 5.1.RC1. Look for possible improvements that can bring performance closer to what it was.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list