<!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">
    On 24/09/2010 16:18, Leonardo Gomes wrote:
    <blockquote
      cite="mid:AANLkTikCxqS=t9eGzvdZT_K=UpXU5TCzc2AmawCYyjtk@mail.gmail.com"
      type="cite">Have a look here: <a moz-do-not-send="true"
        href="http://www.drdobbs.com/184405218">http://www.drdobbs.com/184405218</a><br>
      <br>
      here: <a moz-do-not-send="true"
        href="http://blog.athico.com/2007/07/sequential-rete.html">http://blog.athico.com/2007/07/sequential-rete.html</a><br>
      <br>
      and here: <a moz-do-not-send="true"
        href="http://herzberg.ca.sandia.gov/guidelines.shtml">http://herzberg.ca.sandia.gov/guidelines.shtml</a><br>
      <br>
      The easy answer for your question is "Yes" ;-)<br>
    </blockquote>
    It depends :)<br>
    <br>
    In general a stateless session is just a convenience api for
    stateful, it just wraps. So no performance gain at all.<br>
    <br>
    There is a "sequential" mode, but in all honest you won't get any
    measurable perf gain. So I wouldn't use sequential mode for
    performance, the only reason to use it is if you want your rules to
    execute sequentially.<br>
    <br>
    Mark<br>
    <blockquote
      cite="mid:AANLkTikCxqS=t9eGzvdZT_K=UpXU5TCzc2AmawCYyjtk@mail.gmail.com"
      type="cite"><br>
      Cheers,<br>
      Leo.<br>
      <br>
      <div class="gmail_quote">
        2010/9/24 Harshit Bapna <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:hrbapna@gmail.com">hrbapna@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Hi All,<br>
          <br>
          In a scenario where lets say 10 rule are to be fired (in any
          order) in a stateless session than will I get the benefits of
          RETE algorithm (i.e increased performance).<br>
          i.e Whether the engine will fire all the ten results in a
          parallel fashion or Whether the engine will file each rule one
          by one.<br>
          <br>
          How RETE algorithm will improve the performance of the engine
          for rules fired in stateless session ?<br>
          <br>
          <br>
          _______________________________________________<br>
          rules-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          <a moz-do-not-send="true"
            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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>