https://prefect.io logo
#best-practices
Title
# best-practices
y

yair friedman

09/29/2022, 4:54 AM
Hi, i am using prefect 1.0. i am trying to run 2 flows in parallel, one of them is running on the local executor and one on the localDaskExecutor
1
r

Rob Freedy

09/29/2022, 1:48 PM
One thing to clarify is that executors are responsible for how an individual flow runs, and do not handle how multiple separate flows get scheduled: https://docs-v1.prefect.io/orchestration/flow_config/executors.html#executors If these are two separate flows that are scheduled at the same time, I would take a look at this discourse post about how the agent handles scheduling of flows in 1.0: https://discourse.prefect.io/t/can-a-single-prefect-agent-execute-multiple-flow-runs-scheduled-to-run-at-the-same-time/345 If these are subflows within the same parent flow, then this discourse post might help you: https://discourse.prefect.io/t/how-can-i-run-multiple-subflows-or-child-flows-in-parallel/96#prefect-10-2 I think this last discourse post might be helpful for the pattern you are going for^
4 Views