[jboss-user] [JBoss jBPM] - Re: async processes : favour termination instead of inceptio
kukeltje
do-not-reply at jboss.com
Wed Oct 3 15:41:44 EDT 2007
anonymous wrote : if possible complete ready process instance 1 jobs before working on process instance 2 jobs.
|
sounds like serial processing. Then why not delay the start of the processes? Start process 2 once process 1 is finished? I know, does not sound realistic, but how should a 'scheduler' know in advance how long jobs will take? Only then it can decide to start a realtively short job of process 2 while waiting for one or more jobs for process one. So just start as many processes as you can have parallel actions for procesess. In any other way, it realy becomes complicated quickly. Funny thing is then, that you do not even need async continuations. Just prevent the front-end to get saturated (always better then to 'fix' it further on in the system)
<<Me Just thinking out loud.... >>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091217#4091217
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091217
More information about the jboss-user
mailing list