<!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">
Thanks for the feedback, glad it's working out faster for you. Btw have
you tried our sequentail mode, thats even faster, especially for large
data sets and where as JRule's sequential/fastpath modes limit the rule
langauge available to you, we still allow you access to the full
language. Also notice how we don't need to pool rule contexts like
JRules, our single rulebase can be shared amount working memory
sessions, making the management of sessions very light weight which
simplifies your over all infrastructure.<br>
<br>
On the increasing times, that doesn't look good. Probably a bad loop or
cache somewhere. Could you make a self contained project showing this
behaviour and upload it as a jira, and we will track and hopefully move
the bottlebeck. Hopefully JProfiler can shed some light.<br>
<br>
Btw what do you mean by "non-optimized test rule set and data" - just
trying to understand so I can compare apples to apples.<br>
<br>
Mark<br>
Jin, Ming wrote:
<blockquote
 cite="mid:E84FE257D840B34FA428A3C281A111440863CFDD@sgtulmsp03.Global.ad.sabre.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
  <style>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
  </style>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">I am benchmarking Drools 4.0 and received
excellent results in rule execution.&nbsp; With our non-optimized test rule
set&nbsp;and data, Drools out performed ILOG/JRules by quite a bit.&nbsp;
Congratulations to Drools' team for a job well done.</font></span></div>
  <div><span class="460024517-02082007"></span>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">I encountered a strange behavior when trying to
test the performance of rule registration,&nbsp;meaning to&nbsp;add Package's to
a new instance of RuleBase.&nbsp; I ran the same test 5 times in a sequence,
and the RuleBase instance was discarded right away.&nbsp; The test ran with
different different number of packages,&nbsp;20, 50, 100, and 200.&nbsp; The
results are as the followings:</font></span></div>
  <div><span class="460024517-02082007"></span>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">Added 20 packages to rulebase in 0:00:0.15<br>
Added 20 packages to rulebase in 0:00:0.21<br>
Added 20 packages to rulebase in 0:00:0.21<br>
Added 20 packages to rulebase in 0:00:0.301<br>
Added 20 packages to rulebase in 0:00:0.18<br>
Added 20 packages to rulebase 5 times in 0:00:1.051</font></span></div>
  <div>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">Added 50 packages to rulebase in 0:00:0.17<br>
Added 50 packages to rulebase in 0:00:1.422<br>
Added 50 packages to rulebase in 0:00:1.252<br>
Added 50 packages to rulebase in 0:00:1.322<br>
Added 50 packages to rulebase in 0:00:1.331<br>
Added 50 packages to rulebase 5 times in 0:00:5.497</font></span></div>
  <div>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">Added 100 packages to rulebase in 0:00:0.19<br>
Added 100 packages to rulebase in 0:00:5.278<br>
Added 100 packages to rulebase in 0:00:5.297<br>
Added 100 packages to rulebase in 0:00:5.228<br>
Added 100 packages to rulebase in 0:00:5.327<br>
Added 100 packages to rulebase 5 times in 0:00:21.32</font></span></div>
  <div>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">Added 200 packages to rulebase in 0:00:0.22<br>
Added 200 packages to rulebase in 0:00:21.691<br>
Added 200 packages to rulebase in 0:00:21.481<br>
Added 200 packages to rulebase in 0:00:21.642<br>
Added 200 packages to rulebase in 0:00:21.341<br>
Added 200 packages to rulebase 5 times in 0:01:26.385</font></span></div>
  <div><span class="460024517-02082007"></span>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">As you can see, the timing of creating first
RuleBase instance is always good, while the subsequent one's were very
bad.&nbsp; Is there an attribute I could adjust in configuration to improve
the performance for this scenario?&nbsp; Please advise if there is other
alternatives.&nbsp; I would be glad to provide&nbsp;details if needed.</font></span></div>
  <div><span class="460024517-02082007"></span>&nbsp;</div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">Your help is greatly appreciated!</font></span></div>
  <div><span class="460024517-02082007"><font color="#0000ff"
 face="Arial" size="2">-Ming</font></span></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>