<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dandrea,<br>
<br>
I believe that MVEL has just got stable for JDK1.4 so we should be
doing an M1 release which is much much much faster than 3.0.x - it
should be backards compatible, any chance you could re-run those tests
when M1 is out?<br>
<br>
Thanks<br>
<br>
Mark<br>
Dandrea Francesco wrote:
<blockquote
 cite="mid:48C49CA807312F4C9C5C1DCE87632E35EB610F@PTPEVS109RM001.idc.cww.telecomitalia.it"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3020" name="GENERATOR">
  <div><font face="Arial" size="2"><span class="764082208-26012007">Hi
all,</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">I
have to evaluate if JBoss Rules is a viable solution in this scenario:</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">We
have to monitor a large network using performance alarms. These alarms
arrive every 15 minutes. We don't know the real rate, but peaks of many
tens of thousands of alarms every 15 minutes must be managed in a
timely way.</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">We
want to use JBoss Rules to correlate these alarms, in order to show
less higher level&nbsp; alarms to the users .</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">We
have basically 2 use cases:</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">1)
I have to correlate the alarms&nbsp;on a single&nbsp;node of the network. (for
example in&nbsp;node A&nbsp;I have 2 alarms of different severity about the
connection with node B, so I aggregate everything in a third alarm
saying "I cannot connect to node B from node A"). In this scenario I
have many workingMemories (one for each node) and not so many facts for
each working memory. The performance of JBossRules is very very good
(almost linear with the number of nodes)</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">2)
I have to correlate alarms among the nodes. (for example all nodes
connecting with a node A have an alarm "I cannot connect to node&nbsp;A from
node ...", I want to create an alarm "The node A is unreachable").</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">In
this scenario I'm very worried about the performance of JBoss Rules, as
I prepared a test case (in attachment) and I inferred that the growth
is highly non linear on the number of the facts.&nbsp;Is this performance
data wrong? Am I doing something stupid? Can someone comment?</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007"></span></font>&nbsp;</div>
  <div><font face="Arial" size="2"><span class="764082208-26012007">Here
are the numbers (The numbers are not so important, but&nbsp;rate they grows
is)</span></font></div>
  <div><font face="Arial" size="2"><span class="764082208-26012007"></span></font>&nbsp;</div>
  <font size="2"><span class="764082208-26012007">
  <div>
  <table style="width: 392pt; border-collapse: collapse;" x:str=""
 border="0" cellpadding="0" cellspacing="0" width="523">
    <colgroup></colgroup><font face="Arial"> </font><col
 style="width: 83pt;" width="111"> <col style="width: 128pt;" span="2"
 width="171"> <col style="width: 53pt;" width="70"> <tbody>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl26"
 style="border: 0.5pt solid windowtext; width: 83pt; height: 12.75pt; background-color: transparent;"
 height="17" width="111"><font face="Arial" size="2"><strong>Number of
Facts</strong></font></td>
        <td class="xl26"
 style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; width: 128pt; background-color: transparent;"
 width="171"><font face="Arial" size="2"><strong>Time to assert alla
the new allarms (seconds)</strong></font></td>
        <td class="xl26"
 style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; width: 128pt; background-color: transparent;"
 width="171"><font face="Arial" size="2"><strong>Time to modify the
alarms to close them (seconds)</strong></font></td>
        <td class="xl26"
 style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; width: 53pt; background-color: transparent;"
 width="70"><strong><font face="Arial" size="2">Total</font></strong></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">1000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="1.7350000000000001" align="right"><font face="Arial" size="2">1.735</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="0.96899999999999997" align="right"><font face="Arial" size="2">0.969</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="2.7040000000000002" x:fmla="= C2 + B2" align="right"><font
 face="Arial" size="2">2.704</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">2000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="5.875" align="right"><font face="Arial" size="2">5.875</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="" align="right"><font face="Arial" size="2">3.000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="8.875" x:fmla="= C3 + B3" align="right"><font face="Arial"
 size="2">8.875</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">3000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="12.281000000000001" align="right"><font face="Arial" size="2">12.281</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="6.4059999999999997" align="right"><font face="Arial" size="2">6.406</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="18.687000000000001" x:fmla="= C4 + B4" align="right"><font
 face="Arial" size="2">18.687</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">4000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="23.672000000000001" align="right"><font face="Arial" size="2">23.672</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="11.672000000000001" align="right"><font face="Arial" size="2">11.672</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="35.344000000000001" x:fmla="= C5 + B5" align="right"><font
 face="Arial" size="2">35.344</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">6000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="52.281999999999996" align="right"><font face="Arial" size="2">52.282</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="" align="right"><font face="Arial" size="2">23.250</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="75.531999999999996" x:fmla="= C6 + B6" align="right"><font
 face="Arial" size="2">75.532</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">8000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="87.188000000000002" align="right"><font face="Arial" size="2">87.188</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="42.531999999999996" align="right"><font face="Arial" size="2">42.532</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="" x:fmla="= C7 + B7" align="right"><font face="Arial" size="2">129.720</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">12000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="200.767" align="right"><font face="Arial" size="2">200.767</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="94.641999999999996" align="right"><font face="Arial" size="2">94.642</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="295.40899999999999" x:fmla="= C8 + B8" align="right"><font
 face="Arial" size="2">295.409</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">16000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="360.90899999999999" align="right"><font face="Arial" size="2">360.909</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="176.57900000000001" align="right"><font face="Arial" size="2">176.579</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="537.48800000000006" x:fmla="= C9 + B9" align="right"><font
 face="Arial" size="2">537.488</font></td>
      </tr>
      <tr style="height: 12.75pt;" height="17">
        <td class="xl24"
 style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; height: 12.75pt; background-color: transparent;"
 x:num="" align="right" height="17"><font face="Arial" size="2">20000</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="518.01900000000001" align="right"><font face="Arial" size="2">518.019</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="263.15800000000002" align="right"><font face="Arial" size="2">263.158</font></td>
        <td class="xl25"
 style="border-style: none solid solid none; border-color: windowtext; border-width: medium 0.5pt 0.5pt medium; background-color: transparent;"
 x:num="781.17700000000002" x:fmla="= C10 + B10" align="right"><font
 face="Arial" size="2">781.177</font></td>
      </tr>
    </tbody>
  </table>
  </div>
  <div>&nbsp;</div>
  <div><span class="764082208-26012007"><font face="Arial">Or in a
graph:</font></span></div>
  <div><span class="764082208-26012007"><img alt=""
 src="cid:part1.06070101.03030008@codehaus.org" align="bottom"
 border="0" hspace="0"></span></div>
  </span></font>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div><span class="764082208-26012007"><font face="Arial" size="2">Thanks
a lot for your interest.</font></span></div>
  <div align="left"><img src="cid:part2.08080407.03000105@codehaus.org"
 height="100" width="250"></div>
  <div>&nbsp;</div>
  <div><font size="2"><font face="Courier New">--------------------------------------------------------------------<br>
CONFIDENTIALITY NOTICE<br>
This message and its attachments are addressed solely to the persons<br>
above and may contain confidential information. If you have received<br>
the message in error, be informed that any use of the content hereof<br>
is prohibited. Please return it immediately to the sender and delete<br>
the message. Should you have any questions, please contact us by<br>
replying to </font><a moz-do-not-send="true"
 href="mailto:webmaster@telecomitalia.it"><font face="Courier New">webmaster@telecomitalia.it</font></a><font
 face="Courier New">.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><a
 moz-do-not-send="true" href="http://www.telecomitalia.it"><font
 face="Courier New">www.telecomitalia.it</font></a><br>
  <font face="Courier New">--------------------------------------------------------------------</font></font></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>