Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
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
#best-practices-coordination-plane
Join Slack