[rules-users] StatefulKnowledgeSessions

Nicolas Héron nicolas.heron.java at gmail.com
Wed Mar 31 10:30:44 EDT 2010


Hi,
how many instances do you put in each StatefulKnowledgeSession ? If not a
lot, then the StatefulKnowledgeSession is not too big
You can serialize a StatefulKnowledgeSession.
Regards
Nicolas Héron


2010/3/31 alim <audrey.lim at it-vision.com>

>
> Hi everyone,
>
> I'm trying to find a solution to the following situation:
>
> - KnowledgeBase with approx. 1000 rules
> - Approx. 200 users (hence 200 simultaneous sessions) whereas each session
> might most likely have different values for the working memory facts
>
> So let's say we create a KnowledgeBase (with those 1000 rules) and out of
> this one KnowledgeBase we create for each existing session its own
> StatefulKnowledgeSession.
> Now, how expensive (memory-wise) are these StatefulKnowledgeSessions? Is it
> reasonable to have more than just a few StatefulKnowledgeSessions?
> Or is there an other, better approach?
>
> Thank you very much!
> --
> View this message in context:
> http://n3.nabble.com/StatefulKnowledgeSessions-tp688305p688305.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100331/bc0573e1/attachment.html 


More information about the rules-users mailing list