The question of how to handle program failures is not a Drools issue.<div>Processing transaction data with a RBS isn&#39;t much differenf. A</div><div>simple analysis must anszwer questions such as</div><div><ul><li>Is processing of one transaction in any way dependent on the processing of previous transactions?</li>
<li>Is it necessary to conserve the results of one transactions in Working Memory?</li><li>For a restart: How can you establish check points?</li><li>Is it necessary to execute all transactions in one huge bunch?</li><li>
If one transaction fails, can you recover and continue? How can you deal with the failed transaction later on?</li></ul>In short - questions that have been asked since the invention of data processing ;-) But an answer requires - as always - detailed information.&nbsp;</div>
<div><br></div><div>-W</div><div><br></div><div><br><br><div class="gmail_quote">2012/1/8 Zhuo Li <span dir="ltr">&lt;<a href="mailto:milanello1998@gmail.com">milanello1998@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="ZH-CN" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">That is my question actually. Say if I have one rule which is scheduled
to run twice a day, what about if the first schedule failed and got restarted, but
when the first job is still running, the second job&rsquo;s schedule time arrives. Will
the second schedule wait for first to finish?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Best<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Abe<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>

<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] </span><b><span style="font-size:10.0pt">代表 </span></b><span lang="EN-US" style="font-size:10.0pt">Nicolas H</span><span style="font-size:10.0pt">é<span lang="EN-US">ron<br>

</span><b>发送时间<span lang="EN-US">:</span></b><span lang="EN-US"> 2012</span>年<span lang="EN-US">1</span>月<span lang="EN-US">8</span>日<span lang="EN-US"> 23:08<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> Rules Users List<br>
</span></span></p><div class="im"><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> Re: [rules-users] </span>答复<span lang="EN-US">: Concurrent rule fire<u></u><u></u></span></div><p></p>

</div>

<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Hi,</span></p><div><div class="h5"><br>
You can use more than one drools session ?<br>
Regards<br>
Nicolas Héron<u></u><u></u></div></div><p></p><div><div class="h5">

<div>

<p class="MsoNormal"><span lang="EN-US">2012/1/8 Zhuo Li &lt;<a href="mailto:milanello1998@gmail.com" target="_blank">milanello1998@gmail.com</a>&gt;<u></u><u></u></span></p>

<div>

<div>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Any comments?</span><span lang="EN-US"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">&nbsp;</span><span lang="EN-US"><u></u><u></u></span></p>

<div>

<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> Zhuo Li [mailto:<a href="mailto:milanello1998@gmail.com" target="_blank">milanello1998@gmail.com</a>]
<br>
</span><b><span style="font-size:10.0pt">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> 2012</span><span style="font-size:10.0pt">年<span lang="EN-US">1</span>月<span lang="EN-US">8</span>日<span lang="EN-US"> 0:35<br>

</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> &#39;Rules Users List&#39;<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> Concurrent rule fire</span></span><span lang="EN-US"><u></u><u></u></span></p>

</div>

</div>

<p class="MsoNormal"><span lang="EN-US">&nbsp;<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Hi, folks,<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">My project will handle about 1.5 M transactions per hour using
Drools and the rules</span>&rsquo; <span lang="EN-US">fire are scheduled based on
business operation cycle which might happen a few times a day. Say if I need to
fire the same rule set twice at 10:00 PM and midnight. What will happen if the
first execution has not completed till midnight? Will the 2<sup>nd</sup>
execution be held up till the 1<sup>st</sup> is completed? I would assume there
might still be transactions inserted into working memory between 10:00 PM and
midnight although it is very few.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">My understanding is Drools will enforce only one active thread is
working for the same </span>&ldquo;<span lang="EN-US">then</span>&rdquo;<span lang="EN-US">
section for data consistency. Any thoughts?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Best<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Abe<u></u><u></u></span></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><u></u><u></u></span></p>

</div>

<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a 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></div>