Hi there, I'm new to Prefect and I'm hoping you ca...
# prefect-getting-started
d
Hi there, I'm new to Prefect and I'm hoping you can help me out. I have a few questions that I couldn't find the answers to in the documentation. I read in strings from a CSV file, process them, and then make an API request using the data from those strings. If a flow consists of multiple tasks, will they all be executed by the same worker, or will they be split up among different workers? And how can I ensure that if there are multiple flows in my workflow, only one flow is assigned to each worker and no more? Also, how do I go about making sure that the subsequent steps in a flow are executed after the previous steps have completed? Thanks in advance for your help!
j
You can control how many threads are pulling tasks for your flow, and you can also control how many flows are running at once in the same worker. The easiest way to order your tasks is to make the output of task "A" the input of task "B" and let prefect figure out the dependency graph based on those sorts of relationships.