<div><br></div>    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. <div>
<br></div><div>    The &quot;multi-thread mode&quot; in drools is an experimental feature where Drools will spawn &quot;internal&quot; 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.</div>
<div><br></div><div>    Edson<br><br><div class="gmail_quote">2010/8/22 S Feseha <span dir="ltr">&lt;<a href="mailto:n_feseha@hotmail.com">n_feseha@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
Can one session be shared amongst multiple threads? In the book Drools JBoss Rules 5.0 Developer&#39;s Guide it says that sessions cannot be shared as they contain state which i understand but in chapter 12 they say that &quot;Drools supports parallel execution mode. One session can be executed by multiple threads.&quot; using Knowledge partitioning what exactly does this mean? <br>
<br>Thanks in advance                                               </div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>