Hi,<div>I have done a loyalty system with drools 4 (now they are in version 5) for a retail company in France 3 years that calculates your discount given your points, history, etc..</div><div>You have to put a lot of data in memory cache (ehcache for example) as the database is the the weak point in concurrent mode.</div>
<div>As for drools, it was running on a simple bi-core server with 4 GB of ram and it could handle 10 concurrent calculations without problems. The total calculation time all inclusive (network connection, database, etc) does never exceed 2 seconds with about 10000 loyalty rules for 800000 products.</div>
<div>The biggerst shop they have has more than a 100 cash machines that can be all open on a saturday afternoon.</div><div>With a modern server (4-core hyperthreaded=8 cores) and all the rest and even with more ram (= place for data caching) you can even do much better.</div>
<div>Hope it helps</div><div>Regards</div><div>Nicolas Héron<br><br><div class="gmail_quote">2011/4/27 Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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.<div><div></div><div class="h5"><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" target="_blank">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" target="_blank">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" 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>
</blockquote></div><br>
</div></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></div>