Processing a fact does take some time. But there's no guarantee that
distributing whatever results from this processing to another node and
incorporating it there into an application results in any considerable
saving as compared to distributing the original facts and repeat the
processing anywhere.
Persisting a session that has been loaded with some initial (static)
facts and distributing that is another matter - but is this what you
have in mind?
-W
On 04/04/2013, mauro <mdurantejr(a)gmail.com> wrote:
Hello all,
After searching the web and Drools forums for a couple of days, I couldn't
find a solution to the problem I've got to solve. Anyway, if there's a
thread pointing at the same problem, I apologize and please, let me know
where it is.
My current scenario involves a Drools cluster and demands high availability
and scalability of nodes.
I have to provide a pool of rules (Guvnor should easily handle that) and a
set of servers to process facts against those rules.
This is where I'm stuck at.
I need to make sure all generated facts are shared across drools servers at
the time they get into the cluster.
In other words, what I need is a kind of shared (and persistent) session,
and this session should contain unique facts, so the nodes don't waste time
processing what has already been processed by another node. Also, session
response time is critical.
Since I'm new to the Drools world, maybe I'm missing some important aspects
here, however, as far as I understood, Drools should be able to supply my
requirements.
Already read about Drools-Grid (Is it still alive? Being developed?
Reliable?) and JBoss Infinispan. Both seem to help on solving this
requirement, but I'm not sure whether they're the correct tools to attach
to
the arch and get to the solution.
Moreover, I have to make sure an instance of Guvnor can share rules with
other instances being queried by the Drools servers.
How can I solve the problems?
Thank you in advance,
Mauro
--
View this message in context:
http://drools.46999.n3.nabble.com/Shared-Facts-across-nodes-tp4023210.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users