[rules-users] Drools scalability

Edson Tirelli tirelli at post.com
Sun Aug 22 11:18:15 EDT 2010


    Let me try to explain: one entry-point can be used by one thread. It
means that if your session has only one entry point, than only one thread
should be used for that session, unless you implement external
synchronization.

    The "multi-thread mode" in drools is an experimental feature where
Drools will spawn "internal" threads for parallel rule evaluation. Although,
even when running in this mode, the external threads limit of
one-per-entry-point still apply. Also, based on feedback and some problems
we faced, this experimental feature will go under some critical changes over
the next couple versions of Drools and so, I do not recommend it for
anything other than test/research. We expect to have the definitive solution
for this on Drools 6.

    Edson

2010/8/22 S Feseha <n_feseha at hotmail.com>

>  Can one session be shared amongst multiple threads? In the book Drools
> JBoss Rules 5.0 Developer's Guide it says that sessions cannot be shared as
> they contain state which i understand but in chapter 12 they say that
> "Drools supports parallel execution mode. One session can be executed by
> multiple threads." using Knowledge partitioning what exactly does this mean?
>
>
> Thanks in advance
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100822/2554d3bf/attachment.html 


More information about the rules-users mailing list