How concurrent and serial work processes work in Dify project (principles)? #12319
Replies: 2 comments 1 reply
-
In Dify, the workflow system is designed to efficiently handle tasks using both serial and concurrent processing methods. Here's a breakdown of how these processes work: Serial Workflow
Concurrent Workflow
By integrating both serial and concurrent processing, Dify optimizes task execution and resource utilization, allowing for efficient handling of complex workflows with varying task dependencies. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
When I run two large models in parallel, how can I ensure that they both complete their respective outputs before proceeding with further processing? |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Provide a description of requested docs changes
I hope someone can help me explain the operating principle of the workflow in Dify in the form of diagrams for easy understanding.
In Dify, the workflow operates in a way that combines serial and concurrent processing to handle tasks efficiently. Here is an explanation with diagrams:
Serial Workflow
Concurrent Workflow
By combining serial and concurrent processing in the workflow, Dify can handle complex scenarios with different types of tasks, optimizing both the order of execution and resource utilization to achieve efficient processing.
Beta Was this translation helpful? Give feedback.
All reactions