*As a rule of thumb, I would say, cache knowledge bases, but throw away sessions. Session creation is meant to be fast.<br><br>I&#39;m talking about stateless session here :)<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 5:11 PM, Leonardo Gomes <span dir="ltr">&lt;<a href="mailto:leonardo.f.gomes@gmail.com">leonardo.f.gomes@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I might be wrong, but I believe the optimization he&#39;s talking about is the sequential mode. <br>
<br>Coming back to the original problem in this thread, I&#39;m amazed that you have 30% of your time linked to the newStatelessSession for a cached KnowledgeBase! Loading of classes as the explanation for this also sounds weird... do you spend a lot of time with not using any session so that the classes get unloaded?<br>

<br>As a rule of thumb, I would say, cache knowledge bases, but throw away sessions. Session creation is meant to be fast.<br><br>Leo.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 3:00 PM, Bruno Freudensprung <span dir="ltr">&lt;<a href="mailto:bruno.freudensprung@temis.com" target="_blank">bruno.freudensprung@temis.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
You are right; so far (still haven&#39;t finished reading the book) it is<br>
unclear whether the stateless session really implements some kind of<br>
optimization.<br>
<br>
Bruno.<br>
<br>
Wolfgang Laun a écrit :<br>
<div>&gt; Ha!<br>
&gt; I&#39;ve been trying to find out about exactly this reputed distinction between<br>
&gt; stateful and stateless sessions, NOT to be confused with &quot;sequential mode&quot;,<br>
&gt; which does introduce optimizations.<br>
&gt;<br>
&gt; No success so far.<br>
&gt;<br>
&gt; -W<br>
&gt;<br>
&gt;<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>