Parallel (Sub) workflows: you get to decide! #1618
Workflow Orchestrator Admin
started this conversation in
Polls
Replies: 1 comment
-
|
We're just getting started with WFO, but I think we've already identified at least a few different use-cases:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Whats the issue?
As you may recall: during the 'developers days' last September a group of us spent some time discussing what parallel (sub)workflows should look like and how they may be used. @ the Berkeley code sprint we were able to succesfully test a first pass of the feature. We are however still not sure whether this feature is worthwhile implementing!
We need your feedback in deciding whether to move forward with this feature as it is a significant investment in time and effort
Parallel workflows in a nutshell
Lots of people know the unofficial way of executing workflows in parallel. You basically use a workflow to spawn a large amount of
othertasks or workflows that run independently from its parent. This approach has a number of drawbacks:Our POC implementation has solved the above issues
Key design choices made:
StepListsstatesand pass them toStepListsthat get executed in parallelDiagram
Dynamic parallel (
foreach_parallel()) — N branches from a runtime list:StepListsenabling compound workflows.Diagram
Static parallel (
parallel()/|operator) — fixed branches, defined at definition time:Dilemma
We think most people will think this is a
neatfeature, however will people use it? There are a few things we are concerned about.What will we do with the outcome of this poll?
The results of the poll will help steer the technical committee in their choice whether to implement this feature in the API and how far we should go in supporting this feature in the frontend.
More information?
Check out the design and first implementation here: Here on GitHub
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions