[rules-users] Large number of rules in Drools

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jan 10 02:57:16 EST 2012


Salience is just one way to force the evaluation of a condition before
others. In fact, using salience throughout is just a way of re-creating a
sequence of plain old if statements using a rules engine.

I'm not going to waste my time and yours by elaborating on possible
alternatives unless you come up with a detailed description of your rules,
and how you run your rules engine: fact insertion, calls to fire, etc.

-W

2012/1/10 Shweta1986 <shweta.a.thakkar at gmail.com>

> I am not sure I understand that. What is the other option for this case.
> Why would simple rules not work for 20 K rules. Am I missing something. I
> cannot use database to store my rules. Drools also gives me salience which
> I need for my usecase.
>
> On Thu, Jan 5, 2012 at 11:29 PM, laune [via Drools] <[hidden email]<http://user/SendEmail.jtp?type=node&node=3646449&i=0>
> > wrote:
>
>> 2012/1/6 Shweta1986 <[hidden email]<http://user/SendEmail.jtp?type=node&node=3637255&i=0>
>> >
>>
>>> And my rules are very simple it is like if string comparison then set
>>> that's it..
>>>
>> This doesn't really warrant the use of a rule based system. If keeping
>> this logic out of the application or an easy maintenance of these if-then's
>> are your main goals, there are other ways. I've already hinted at this,
>> with the idea of providing the information embedded in similar rules as
>> data.
>> -W
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=3637255&i=1>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3637255.html
>>  To start a new topic under Drools: User forum, email [hidden email]<http://user/SendEmail.jtp?type=node&node=3646449&i=1>
>> To unsubscribe from Drools: User forum, click here.
>> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: [rules-users] Large number of rules in
> Drools<http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3646449.html>
> Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>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/20120110/7f235d0c/attachment.html 


More information about the rules-users mailing list