[rules-users] 答复: Concurrent rule fire
Zhuo Li
milanello1998 at gmail.com
Sun Jan 8 08:48:24 EST 2012
Any comments?
发件人: Zhuo Li [mailto:milanello1998 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120108/c5a31912/attachment.html
More information about the rules-users
mailing list