miguel is right.. I'm not sure about the reading kbases sentence. Remember that you need to compile knowledge packages to get a kbase. You can store these packages to not recompile them again. All the other stuff is cheap. You only need to calculate how many fact each user will insert in each session.<br>
<br><br><div class="gmail_quote">2010/3/31 miguel machado <span dir="ltr"><<a href="mailto:mls.machado@gmail.com">mls.machado@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font size="2"><font face="verdana,sans-serif">As far as i've read in the documentation, creating statefulKnowledgeSession's is cheap, even though reading the rulebase is not. And you can even persist your sessions in database, so i'd say that's not too much to worry about</font></font><div>
<font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font face="verdana, sans-serif">But i'm a newbie, more experienced users may disagree.</font></div><div><font face="verdana, sans-serif">_ miguel</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font size="2"><font face="verdana,sans-serif"><br></font></font><br><div class="gmail_quote"><div class="im">On Wed, Mar 31, 2010 at 1:59 PM, alim <span dir="ltr"><<a href="mailto:audrey.lim@it-vision.com" target="_blank">audrey.lim@it-vision.com</a>></span> wrote:<br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi everyone,<br>
<br>
I'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'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" 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>
</font></blockquote></div></div></div><br><br clear="all"><br>-- <br>"To understand what is recursion you must first understand recursion"<br>
</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> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino "Salaboy" Mauricio -<br>