In short no.
Activations are determined when Facts are inserted into WorkingMemory not
when a call to fire the rules is made. Consequentially, IMO, "through put"
is really limited to how quickly you can insert Facts into the network. You
could have multiple threads inserting Facts into different s
Hi All,
Thanks to Leo and Mark for the help...
Please find my comments(blue) inline.
Crisp question:
*Is there any functionality in drools where I can run the rules(stateless
session) in parallel threads to increase the throughput ?*
Note: The rules actions won't change the facts/data such that i
Hello Harshit / Mark,
My reasoning behind the yes, is that:
- If you have 10 rules that won't necessarily always match, it's better to
use Rete, than sequentially match one-by-one. The tree structure with the
sharing of nodes for different rules seems to always be a better approach
for me, than s
On 24/09/2010 16:18, Leonardo Gomes wrote:
Have a look here: http://www.drdobbs.com/184405218
here: http://blog.athico.com/2007/07/sequential-rete.html
and here: http://herzberg.ca.sandia.gov/guidelines.shtml
The easy answer for your question is "Yes" ;-)
It depends :)
In general a stateles
Have a look here: http://www.drdobbs.com/184405218
here: http://blog.athico.com/2007/07/sequential-rete.html
and here: http://herzberg.ca.sandia.gov/guidelines.shtml
The easy answer for your question is "Yes" ;-)
Cheers,
Leo.
2010/9/24 Harshit Bapna
> Hi All,
>
> In a scenario where lets say
Hi All,
In a scenario where lets say 10 rule are to be fired (in any order) in a
stateless session than will I get the benefits of RETE algorithm (i.e
increased performance).
i.e Whether the engine will fire all the ten results in a parallel fashion
or Whether the engine will file each rule one by