Airflow parallelism

前端 未结 3 1621
鱼传尺愫
鱼传尺愫 2020-12-04 07:58

the Local Executor spawns new processes while scheduling tasks. Is there a limit to the number of processes it creates. I needed to change it. I need to know what is the dif

3条回答
  •  爱一瞬间的悲伤
    2020-12-04 08:33

    The scheduler's max_threads is the number of processes to parallelize the scheduler over. The max_threads cannot exceed the cpu count. The LocalExecutor's parallelism is the number of concurrent tasks the LocalExecutor should run. Both the scheduler and the LocalExecutor use python's multiprocessing library for parallelism.

提交回复
热议问题