[rules-users] Doubt regardging Drools-RETE

Mark Proctor mproctor at codehaus.org
Thu Nov 11 02:22:24 EST 2010


On 11/11/2010 07:07, Harshit Bapna wrote:
> Yes Mark. It is definitely beneficial.
> I would really appreciate your answer on my questions.
> I have read a lot about RETE performance boost but struggling to find 
> answer to my questions as my understanding on RETE is limited.
>   1. If there are not many common facts i.e all rules are operating on 
> distinct facts / data. Does this mean the algorithm will not   bring 
> in much benefit ?
>   2. Also if the facts are same but the LHS of a rule is quite 
> different from others then will RETE have its benefits.
Much benefit compared to what? These are relative questions with nothing 
to relate them too. Will they have benefits related to the price of 
cheese on a sunday afternoon?

So I'll just answer "yes", with the caveat that it's certainly not 
pushing the limits of our Rete or taking advantage of some of the core 
optimisations; but that's the benefit as it's an algorithm that will 
grow with your needs.

Mark
> I hope learned people on rete and drools can help me on this..
> 2010/11/11 Mark Proctor <mproctor at codehaus.org 
> <mailto:mproctor at codehaus.org>>
>
>     On 11/11/2010 05:28, Harshit Bapna wrote:
>>     Hello everyone,
>>     1. If there are not many common facts i.e all rules are operating
>>     on distinct facts / data. Does this mean the algorithm will not
>>     bring in much benefit ?
>>     2. Also if the facts are same but the LHS of a rule is quite
>>     different from others then will RETE have its benefits.
>>
>>     I have gone through the RETE algorithm documentation and RETE
>>     node diagram chart but still finding difficulty to understand it.
>>     Can somebody please provide a layman language link to understand
>>     RETE.
>     I would forget about the algorithm and focus on the language. Does
>     the declarative language allow you to solve your problem in a
>     better way?
>
>     Mark
>>
>>
>>     _______________________________________________
>>     rules-users mailing list
>>     rules-users at lists.jboss.org  <mailto:rules-users at lists.jboss.org>
>>     https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>     _______________________________________________
>     rules-users mailing list
>     rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
>
>
>
> _______________________________________________
> 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/20101111/8d5b5add/attachment.html 


More information about the rules-users mailing list