Hi, Sala,
Thanks for the response and appreciate it a lot. My concern actually came
out from disaster recovery consideration. For example, I have two scheduled
jobs planned - job A on 10:00 PM EST and job B on 0:00 AM EST. They are
running against the same data set. An accident happened during job B
execution but it was not restarted till 9:00 PM the other day. From disaster
recovery point of view, we need to rerun previous day's two jobs, but
previous day's job B may take more than 1 hour to complete. What will happen
if previous day's JOB B is still running and then today's job B got kicked
off?
Best
Abe
-----邮件原件-----
发件人: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] 代表 Mauricio Salatino
发送时间: 2012年1月8日 22:07
收件人: Rules Users List
主题: Re: [rules-users] 答复: Concurrent rule fire
Sorry to not answer when you ask the question, but I'm getting hard
times trying to understand your requirements.
If you have a batch procedure that evaluates a set of rules that can
take 10 hours you can probably schedule the next procedure in a
different machine or try to solve the problem in that direction. Do
you want to execute both procedures using the same session? do you
require that? Can you please elaborate more in your architecture and
what are you doing with those transactions?
Cheers
2012/1/8 Zhuo Li <milanello1998(a)gmail.com>:
Any comments?
发件人: Zhuo Li [mailto:milanello1998@gmail.com]
发送时间: 2012年1月8日 0:35
收件人: 'Rules Users List'
主题: Concurrent rule fire
Hi, folks,
My project will handle about 1.5 M transactions per hour using Drools and
the rules' 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 2nd execution be held up till the 1st 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.
My understanding is Drools will enforce only one active thread is working
for the same "then" section for data consistency. Any thoughts?
Best
Abe
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
- CTO @
http://www.plugtree.com
- MyJourney @
http://salaboy.wordpress.com
- Co-Founder @
http://www.jugargentina.org
- Co-Founder @
http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users