<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
firstly, do you have an actual performance issue, and are you sure you
have well written rules?<br>
<br>
>From my findings the contributed Leaps algorithm was not more efficient
than Rete in most use cases.<br>
<br>
There is currently no way to "emulate" sequential with what we have,
atleast you wouldn't get an additional performance gains. However we
would be very interested if someone wanted to find a way to "configure"
our rete implementation for sequentail execution.<br>
<br>
Regards<br>
<br>
Mark<br>
Shahad Ahmed wrote:
<blockquote
cite="mid:1d2fdded0705110834p6e12d027sc9f0fed796ebf4aa@mail.gmail.com"
type="cite">
<div>Does anyone know if there's an efficient way of replicating
the Ilog JRules sequential algorithm in Drools?</div>
<div> </div>
<div>From a (over simplified) users perspective, the <font
style="background-color: rgb(255, 255, 0);">JRules </font>sequential
algorithm takes an ordered list of rules and fires the first rule in
the sequence with a valid IF condition. You can also specify a maximum
number of rules in a sequence that may fire. If you have a large number
of simple rules to be fired in sequence (often precondition validating
rules in a complex ruleflow), then the sequential algorithm gives a
significant performance gain over the RETE algorithm in JRules. </div>
<div> </div>
<div>I can see how you might order a set of rules by salience and
give then the same agenda group. Then I assume you will get the
equivalent "behaviour" to the Ilog sequential algorithm described
above. However, before I try this out, I thought I'd ask if anyone has
a view on the performance of this approach; and whether there would be
anything to be gained by adding a similar sequential algorithm to
Drools. </div>
<div> </div>
<div>I've seen a few Blog posts in the past that suggest that the
Ilog sequential algorithm is similar to LEAPS, but I don't know if
that's accurate - also LEAPS will no longer be supported on Drools 4.0
development path. </div>
<div> </div>
<div>Thanks</div>
<div>Shahad</div>
<div> </div>
<div> </div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>