How many concurrent workflow tasks can Dify run at the same time? #26212
Replies: 1 comment
-
Dify’s concurrency for workflow tasks is managed by Celery workers. On your system with 4 CPU cores and 8GB RAM, you can control how many tasks run in parallel by setting environment variables:
Other parameters that impact concurrency include There’s no hardcoded maximum; actual concurrency depends on your hardware and these settings. After changing environment variables, restart Dify for changes to take effect. For best results, monitor system load and gradually increase concurrency to find the optimal setup for your workflows source. If you need more parallel branches in workflows, you can increase Let me know if you want details on tuning for specific workflow types or batch processing! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
How many concurrent workflow tasks can Dify run at the same time? My system has 4 cores and 8GB of RAM. How can I adjust the configuration?
Beta Was this translation helpful? Give feedback.
All reactions