
I have batch job with different batch job tasks .. it is a batch job generated through code .. in this example each task is having a batchjob dependency task before it will go to the next batch job task... Dont get confused by this 1:1 relation in this example. Normally we can have 10-100 tasks in parallel and then a group dependency so that it will only go to next group if all tasks in previous group are finished.
BUT .. if you see when it finishes a group of batch job tasks, there is delay of 5 or 6 seconds where i feel the system does not do anything.. I tried to run the individual tasks without dependencies without batch job and it was finished in 3 seconds... If i run through batchjob it takes 3 minutes. WHY?
why does it wait every time 6 seconds? See screenshot below:
just fyi .. this happens only when there are batchjob tasks are 'separated' using dependencies ...