Skip to content

MediumScenarioAirflow and orchestration in practice

An Airflow DAG with 800 tasks makes the scheduler slow and tasks queue for minutes. How do you fix it?

What a good answer covers

Reduce top-level code parsing time, split into smaller DAGs or use dynamic task mapping, tune parallelism, pools and max_active_tasks, and increase scheduler resources. Avoid heavy imports and DB calls at parse time.

More on Airflow and orchestration in practice

Flashcards for this topic