...
- Use Case
- Run parts of a job chain in parallel, i.e.
- split jobs for parallel processing
- ,
- join up jobs after parallel processing.
- Run parts of a job chain in parallel, i.e.
- Solution Outline
- Two standard JITL Jobs are provided for this:
- JobSchedulerJobChainSplitter
split an- splits an incoming order into multiple orders that are
- run in parallel through a job chain within a range of predefined job chain nodes.
- JobSchedulerJoinOrders
- joins the
- orders that have previously been split in a job chain node, i.e. this job forces any split orders to complete to this job chain node before processing continues.
- JobSchedulerJobChainSplitter
- Two standard JITL Jobs are provided for this:
- References
- How to Execute Jobs in a Job Chain in Parallel for an overview of the methods available for Parallel Execution within a Job Chain
- Example showing how to set up a splitter jobExample for parallel execution
Solution
- Download split_join.zip
- Extract the archive to a folder
./config/live
of your JobScheduler Master installation. - The archive will extract the files to a folder
split_join.
- You can store save the sample files to a in any folder as you like, the solution does not make require the use of specific folder names or job names. Job names can be freely chosen, with the exception of JITL jobs - which here are JobChainSplitter and join.
Pattern
Flowchart |
---|
job_chain [label="Job Chain",fillcolor="orange"] job_1 [label="Job 1",fillcolor="lightskyblue"] job_2 [label="Job 2",fillcolor="lightskyblue"] job_split [label="Job Split",fillcolor="lightskyblue"] job_3 [label="Job 3",fillcolor="lightskyblue"] job_3a [label="Job 3a",fillcolor="lightskyblue"] job_4 [label="Job 4",fillcolor="lightskyblue"] job_4a [label="Job 4a",fillcolor="lightskyblue"] job_5 [label="Job 5",fillcolor="lightskyblue"] job_join [label="Job Join",fillcolor="lightskyblue"] job_chain -> job_1 job_1 -> job_2 job_2 -> job_split job_split -> job_3 job_split -> job_4 job_3 -> job_3a -> job_join job_4 -> job_4a -> job_join job_join -> job_5 |
...