If you use a stateless session per transaction you should generally be OK.<br><br>How much lag you&#39;re likely to encounter is a much harder question to answer: how well does your database retrieval scale, would this present an issue before the rules engine?<br>
<br>The rules engine is &quot;just a POJO library&quot; the overall scalability would IMO depend upon your application&#39;s architecture.<br><br><div class="gmail_quote">On 27 April 2011 11:27, Sumeet Karawal <span dir="ltr">&lt;<a href="mailto:sumeet.karawal@tcs.com">sumeet.karawal@tcs.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>
Hi,<br>
<br>
I have an Application where I have to give the discount to user according<br>
to their profile points.<br>
<br>
i.e. when the user logs in, his profile points are fetched from the<br>
database, and respectively he is given the required discount.<br>
<br>
My concern is how many concurrent users will be supported by the rules<br>
engine, will there a performance lag if the concurrent number of users<br>
exceed a certain limit. Please help me on this as I have no idea regarding<br>
this.<br>
<br>
Thanks and Reagrds,<br>
Sumeet Karawal<br>
<br>
Mailto: <a href="mailto:sumeet.karawal@tcs.com">sumeet.karawal@tcs.com</a><br>
<br>
=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain<br>
confidential or privileged information. If you are<br>
not the intended recipient, any dissemination, use,<br>
review, distribution, printing or copying of the<br>
information contained in this e-mail message<br>
and/or attachments to it are strictly prohibited. If<br>
you have received this communication in error,<br>
please notify us by reply e-mail or telephone and<br>
immediately and permanently delete the message<br>
and any attachments. Thank you<br>
<br>
<br>
<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>
</blockquote></div><br>