Bottleneck during the creation of the object type configurations in Drools 6
Issue
- While testing latest
Drools 6.2.0 RC1version of drools library using a standalone Java SE application, users are facing performance bottleneck during the creation of the object type configurations. This issue has been reported here in these discussion forums [1] and in this JIRA [2] . - The description of the issue is described in this JIRA [2] .
There is indeed a bottleneck during the creation of the object type configurations.
On insert facts to state full session it cause drools to go to ProjectClassLoader.loadClasss code which is synchronize and block threads which led to bad performance (when working multi threading).
How to fix this issue?
[1] https://groups.google.com/forum/#!topic/drools-development/xb1e6P3nVGM
[2] Bottleneck during the creation of the object type configurations
Environment
- Red Hat JBoss BRMS (BRMS)
- 6.0.x
- Drools
- 6.2.0 RC1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.