Hi, I am trying to set up task orchestration, wher...
# ask-community
t
Hi, I am trying to set up task orchestration, where all the tasks will be AWS Batch jobs or similar (no actual processing happens within a task). What's the recommended configuration here (e.g. what agent to use, how to configure)? The setup should accommodate some concurrency (say up 10 flows run concurrently, and up to 40 tasks run concurrently), with minimum resource usage - as these should only be API calls.
And maybe a more specific question: I have experience with Airflow, and with local executor there, each task was forked as a separate process, which consumed ~100MB per task just to create the task. Is this also the case with local concurrency in Prefect?
k
Hey @Tadej Svetina, it sounds like you just need a lightweight Local Agent and then you can kick off those batch jobs. Each flow will still take a process on the machine, meaning that you just need enough hardware to support 10 flow runs concurrently. I don’t imagine you need it to be a powerful computer.
If you are using the local executor, I think it’s like 20KB at most per task
t
Great, thanks!