Hi a dumb question maybe. I'm trying to make my flow to run in parallel via
run_agent
but I can't make it work
I tried to use
Copy code
flow.executor = LocalDaskExecutor()
flow.run()
& it can run in parallel, but not
run_agent
. any clue?
z
Zanie
02/04/2021, 9:59 PM
Hi @Alvis Tang -- I wouldn't recommend using
run_agent
it's just going to be confusing. I'd recommend starting the agent in a separate process. Your flow script should have
flow.register()
and then you'd run the flow from the UI and run an agent in a separate process to kick off the flow run. Either way, using the dask executor should be giving you the parallelism you want.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.