Drools time to insert facts
by Bojan Janisch
Hey guys,
is it normal to wait hours or to get out of memory error, for a rule which checks for 5 or 6 objects? No constraints, just simple checking for objects in working memory.
Greetings
Bojan
11 years, 4 months
ruleflow-group and jBPMN
by droolster
Hello,
Please can the community help me.
I have setup a Drools JBPMN process and am using it to determine which set
of rules to fire under different scenarios.
However, when I add the ruleflow-group attribute to the rules in the DRL
file, the rules fail to execute.
Here is my setup:
foo.bpmn2
RuleFlowGroup="abc"
rules.drl
rule "number one" ruleflow-group "abc"
When I initiate the process, the rule do not fire. If I take out the
ruleflow-group attribute in the DRL file, the rules fire. Any idea what I am
not doing or doing wrong?
Regards.
--
View this message in context: http://drools.46999.n3.nabble.com/ruleflow-group-and-jBPMN-tp4025347.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 4 months
How to improve performance with large number of rules and facts ?
by virajn
Hi alll,
In my project i'm loading 18,000 rules ( 3mb file ) to reason with 11,000
facts. I recorded following time durations.
- Rule loading time - 3 min 6 seconds
- Time duration to create stateful knowledge session - 5 min 52 seconds
- Fact inserting time - 5 min 31 seonds
- Time duration to fire all rules - 8 seconds
I want to reduce these times. I'm new to drools and using standard drools
rule evaluation codes ( using insert in a loop to insert facts, creating
knowledge session and call fireAllRules() ). Is there a way ( ex: batch
operation etc ) to improve performance in any area specified above ? Any
direction will be helpful. ( In my project requirement does not allows to
use stateless session )
Thanks !
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-improve-performance-with-large-n...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 4 months