As explained in the previous sections, a Job opened in the workspace can contain several subJobs and you are able to arrange their execution order using the trigger links such as OnSubjobOK. However, when the subJobs do not have any dependencies between them, you might want to launch them at the same time. For example, the following image presents four subJobs within a Job and with no dependencies in between.
The tRunJob component is used in this example to call each subJob they represent. For further information about tRunJob, see the component documentation at https://help.talend.com.
Then with the Job opened in the workspace, you need simply proceed as follows to run the subJobs in parallel:
Click the Job tab, then the Extra tab to display it.
Select the Multi thread execution check box to enable the parallel execution.
This feature is optimal when the number of threads (in general a subJob counts one thread) do not exceed the number of processors of the machine you use for parallel executions. Otherwise, some of the subJobs have to wait until any processor is freed up.
For a use case of using this feature to run Jobs in parallel, see Using the Multi-thread Execution feature to run Jobs in parallel at https://help.talend.com.