level1Foo = false...
...if this rule wants to cancel all subsequent "level2Bar" it updates
level2Bar = false...
end
--- On Thu, 7/22/10, tom ska wrote:
From: tom ska
Subject: Re: [rules-users] Problem with DRL language/ XLS decision tables.
To: "Rules Users List"
Date: Thursd
Thanks for reacting ;)
I did some simulations, and after them, I want of course to parallelize this
process of processing 2 billions facts. But as far as I wrote, Drools
engine, can't do this. And I have to create threads manually in application
(with pool of sessions). Am I right? Tuning number of
/10, tom ska wrote:
From: tom ska
Subject: Re: [rules-users] Problem with DRL language/ XLS decision tables.
To: "Rules Users List"
Date: Thursday, July 22, 2010, 9:17 AM
Hi,
thanks for so quick answer. I think, that using StatelessSession could be a
solution, but as I understood, I ha
You can't insert 2 bilion facts to memory. Handling of processed facts
will be more expensive than creating StalessSession and process each
item. On our system with maybe 200 rules evaluation cost for one fact
is 2-5 ms. And you can parallelize it in your case, depends on
hardware which you have.
Hi,
thanks for so quick answer. I think, that using StatelessSession could be a
solution, but as I understood, I have to insert only one fact to the facts
base. But, I have about 2 billions of facts that I want to process with
Drools, and execution time, is for me really important. A think, that
in
Don't know details of your problem but it's typical situation where
you can use StatelessSession, insert one fact at time and use
activation-group.
Pavel
2010/7/22 tom ska :
> Hello,
> I have a problem with defining rules. I insert many, many objects (facts) to
> ksession object (StatefulKnowledg
0 14:27
To: rules-users@lists.jboss.org
Subject: [rules-users] Problem with DRL language/ XLS decision tables.
Hello,
I have a problem with defining rules. I insert many, many objects (facts) to
ksession object (StatefulKnowledgeSession). I want to fire rules for all of
them(facts), but I want to
Hello,
I have a problem with defining rules. I insert many, many objects (facts) to
ksession object (StatefulKnowledgeSession). I want to fire rules for
*all*of them(facts), but I want to fire only one rule from all rules
for each one
fact(not always this same rule is fired, because I use salience)