[rules-users] How to improve performance with large number of rules and facts ?

virajn mayuraviraj at gmail.com
Mon Aug 5 05:51:08 EDT 2013


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-number-of-rules-and-facts-tp4025324.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list