Run nodes in a pipeline in parallel #439
-
Is it possible to run nodes in a pipeline in parallel? It seems the SyncTask is created for exactly this pupose, but I have not managed to get anything working. For reference, this is how far I got, and I even had to disable this check: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
A pipeline should only ever have a single path through the graph. You want to use the Graph object which does support running things in parallel and some examples of this are the raster objects. I also recommend taking a look at Taskflows documentation for the scheduler to understand how it works so when setting up the graph you get the behavior you desire. |
Beta Was this translation helpful? Give feedback.
-
This is a good thing to review. |
Beta Was this translation helpful? Give feedback.
A pipeline should only ever have a single path through the graph. You want to use the Graph object which does support running things in parallel and some examples of this are the raster objects. I also recommend taking a look at Taskflows documentation for the scheduler to understand how it works so when setting up the graph you get the behavior you desire.