When an deployment gets kicked off to a pool with two agents, both agents should be able to do the deployment whenever there are concurrent tasks in the deploy right? For some reason I have a job with 100 concurrent tasks and 10 agents, but only 1 agent is doing the work right now
Charles Leung
05/13/2024, 3:53 PM
Hi any insights on this? Thanks a lot!
k
Kevin Grismore
05/13/2024, 4:03 PM
mm that's now how agents work. a flow is ultimately just a python script, and tasks aren't distributed across multiple runtimes or hardware unless you're doing so intentionally with something like an external dask cluster
Kevin Grismore
05/13/2024, 4:04 PM
if your deployment has the process infrastructure type, only one agent is going to do the work, and it's going to pick up that flow run and execute the entire thing
c
Charles Leung
05/15/2024, 12:14 AM
Thansk @Kevin Grismore! This applies to agents and workers right? In order to have distributed compute, I have to break up the tasks into deployments and then run it that way?
Charles Leung
05/15/2024, 12:15 AM
OR maybe, the better question is, what's the set up like with External dask clusters? Im still trying to get used to Prefect, sorry for the multiple questions