Re: [rules-users] Is Drools suitable for preprocessing my Resource Allocation Problem

2012-12-10 Thread Vincent LEGENDRE
Hi I did not get the use case here. When you write : The Problem : I have an optimisation engine that can allocate some activities to some resources, while optimizing some KPIs (Key Performance Indicator). The optimizer takes as input (among others) a list of forbiden allocations that

Re: [rules-users] Droold 5.4.0

2012-12-10 Thread Geoffrey De Smet
Op 24-10-12 20:30, hare ram schreef: Hi All, I am newbie to Drools. I just downloaded drools-distribution-5.4.0.Final. If I look at the binaries directory. there are lots of jar files in it. I want to know what the minimum set of jars i

Re: [rules-users] A basic doubt about Drools Fusion

2012-12-10 Thread Adrián Paredes
Hi Esteban: First, thanks for the answer. I'd rather not use the fireUnitHalt() method because I'm in a application server (JBoss) where it is not advisable to open a thread. If I have to choose, I prefer the second option. Greetings! 2012/12/7 Mauricio Salatino sala...@gmail.com There

[rules-users] Problem with KnowledgeBase updates in Guvnor and the Fusion temporal rules with time intervals

2012-12-10 Thread Adrián Paredes
Hi all: I have a Guvnor Repository with same rules. Then, I have a web application with a KnowledgeAgent. The agent has the drools.agent.newInstance property in false, to update the KnowledgeStatefulSession with every change in the KnowledgeBase, and the scanning interval setted in 10 seconds.

[rules-users] Rules not properly re-evaluating in 5.5

2012-12-10 Thread CyBurr
If am using a Stateful knowledge session with a rule flow group. I am inserting into working memory one instance of each class/type listed below. All of the rules fire except for rule 14. Rule 14 and 15 are very similar but for some reason only rule 15 fires. If I swap the physical order of

[rules-users] Multi-threading inefficiency caused by static class synchronization?

2012-12-10 Thread ping
hi, I'm new to Drools and I'm doing some performance benchmark to see if I can scale up a StatelessSession engine. I did the benchmark on a 8 core machine but the results shows the engine can only take advantage of 1.5 cores at any time. here is my tests: 1. create a KnowledgeBase 2. started

Re: [rules-users] Multi-threading inefficiency caused by static class synchronization?

2012-12-10 Thread ping
hi Salaboy, Thank you for your reply. I read some of your blog posts and find them very helpful for my learning of Drools. But for the question I raised here, create multiple stateless sessions with the same rules in different threads is exactly what I was trying. But I found that the rule engine

Re: [rules-users] Multi-threading inefficiency caused by static class synchronization?

2012-12-10 Thread ping
I tried profiling my test program and found that all thread spent most of their time blocking or waiting for the same lock: org.drools.runtime.process.ProcessRuntimeFactory.getProcessRuntimeFactoryService() and org.drools.common.AbstractRuleBase.lock() examples: Thread-6 [WAITING] CPU time: 1s