<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Your 2nd use case, and especially the part "10k rules, growing, dynamic, changing" is a good reason to use engine like drools.<br>And to me, using the same system for both use cases is better than mixing technologies, even if the use case 1 is not an obvious candidate (15 simple rules that never change...).<br><br>Then you should read the doc (and post questions here) to have a clear ideas on :<br>&nbsp;&nbsp; - if the drools langage has everything you need, and stays clear to you (and for the rules' authors)<br>&nbsp;&nbsp; - the engine is not too overkill for what you are planning to do (have a look to the difference between default forward chaining behaviour, and sequential mode)<br>&nbsp;&nbsp; - the engine integration does not require to refactor all your code (or at least what you will have to do to integrate drools sessions is ok with your dev plan)<br>&nbsp;&nbsp; - there will certainly have some performances drawbacks comparing to a dedicated (and I suppose sequential) home-made rule engine. Such thing can be checked by porting your first 15 rules use case and measure perfs delta.<br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"debchamps" &lt;majumdar.debarghya@gmail.com&gt;<br><b>À: </b>rules-users@lists.jboss.org<br><b>Envoyé: </b>Lundi 25 Juin 2012 18:48:38<br><b>Objet: </b>[rules-users] Need Suggestion about what rule engine to use<br><br>Hi,<br><br>I have an application where I will be requiring rule engine in two places.<br>&nbsp;<br>Use case1<br>-------------<br>&nbsp;I have around 15 rules(It is likely to change very rarely) which are like<br>truth table <br><br>var1 var2 var3 &nbsp;var4 &nbsp; &nbsp; &nbsp;Action<br>true &nbsp;false &nbsp;false true &nbsp; &nbsp; add &nbsp;x,y,z to list<br>false &nbsp;false &nbsp;false true &nbsp; &nbsp; set x = todaysDate +3 <br><br>Use case2<br>------------<br>There is lots of rules (atleast 10000 and growing)<br>and the rules is like <br><br>var1 = 'x' and var2 = 'y' set x=1<br>var2 = 'e' and var5 = 'f' add 'Ram' to list B<br><br>The rules can be added dynamically and at anytime(absolute necessity)<br><br>Currently we are using a rules engine which is coded by ourself where we<br>load rules and actions from memory every 15 minutes and execute the rules<br>engine. However if the rules grow like anything we may face problem in the<br>future <br><br>The use case1 can be implemented by the existing rules engine. But inserting<br>the rules in the database is &nbsp;a problem area in the current implementation<br>other than some standard cases like Use case2<br><br>I need suggestion on how to approach the problem and what rule engine to use<br>: -<br><br>1&gt; Move everything to a new Rule Engine &nbsp;<br>2&gt; Have use case 2 in the old rule engine and use case 1 in new Rule Engine<br>(Is it good ... )<br>3&gt; Have everything in the old RuleEngine <br><br>So in case of a new Rule Engine what is recommended ?? <br><br>Thanks and Regards,<br>NewBie in RuleEngine<br><br><br>&nbsp;&nbsp;<br><br><br><br><br><br>&nbsp;<br><br><br><br><br><br><br><br>--<br>View this message in context: http://drools.46999.n3.nabble.com/Need-Suggestion-about-what-rule-engine-to-use-tp4018239.html<br>Sent from the Drools: User forum mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div><br></div></body></html>