<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you guys.<div>I will take the advices, will try storing the bytes on the db and later recasting to object or putting on the server memory.</div><div><br></div><div>I didn't know I could serialize KnowledgeBase.</div><div><br></div><div>Thanks.</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Paulo Reis</div><div><a href="mailto:casmeiron@gmail.com">casmeiron@gmail.com</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 23, 2012, at 12:39 PM, lhorton <<a href="mailto:LHorton@ABCLegal.com">LHorton@ABCLegal.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">At my shop, our design is to build the knowledge bases only once, when the<br>rules server starts up. Each knowledge base stays in server memory, and a<br>session (we use stateless) is created for each request, when the request<br>comes in. Creating the knowledge base is slow, but session creation is<br>very fast (we have thousands of rules). If you search this forum on<br>"knowledge base expensive" you'll find lots of tuning advice.<br><br><br><br>--<br>View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Marshalling-Unmarshalling-KnowledgeBase-StatefulSession-tp4019349p4019365.html">http://drools.46999.n3.nabble.com/rules-users-Marshalling-Unmarshalling-KnowledgeBase-StatefulSession-tp4019349p4019365.html</a><br>Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></div></body></html>