<font size="2"><font face="verdana,sans-serif">As far as i&#39;ve read in the documentation, creating statefulKnowledgeSession&#39;s is cheap, even though reading the rulebase is not. And you can even persist your sessions in database, so i&#39;d say that&#39;s not too much to worry about</font></font><div>
<font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">But i&#39;m a newbie, more experienced users may disagree.</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">_ miguel</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font size="2"><font face="verdana,sans-serif"><br></font></font><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 1:59 PM, alim <span dir="ltr">&lt;<a href="mailto:audrey.lim@it-vision.com">audrey.lim@it-vision.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi everyone,<br>
<br>
I&#39;m trying to find a solution to the following situation:<br>
<br>
- KnowledgeBase with approx. 1000 rules<br>
- Approx. 200 users (hence 200 simultaneous sessions) whereas each session<br>
might most likely have different values for the working memory facts<br>
<br>
So let&#39;s say we create a KnowledgeBase (with those 1000 rules) and out of<br>
this one KnowledgeBase we create for each existing session its own<br>
StatefulKnowledgeSession.<br>
Now, how expensive (memory-wise) are these StatefulKnowledgeSessions? Is it<br>
reasonable to have more than just a few StatefulKnowledgeSessions?<br>
Or is there an other, better approach?<br>
<br>
Thank you very much!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/StatefulKnowledgeSessions-tp688305p688305.html" target="_blank">http://n3.nabble.com/StatefulKnowledgeSessions-tp688305p688305.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>&quot;To understand what is recursion you must first understand recursion&quot;<br>
</div>