Pools, concurrency and priority
Every limit on how many tasks run at once, pools for shared systems, and who goes first.
Pipelines in production · Airflow · Gold · Running Airflow in production, lesson 1 of 4
On this page
Read first: Catchup, backfill and end_date · Dynamic task mapping (skip if you know them)
In plain words first
A car park has a total number of spaces, a reserved area for vans, and a rule of two cars per household. A car can be ready to park and still wait at the barrier because one of those limits is full.
Airflow's limits work the same way, and a pool is the reserved area: a fixed number of slots for taskstask: One step of a DAG, such as running a query or calling an API. Each run of a task for one date is a task instance. Learn more → that share a resource.
Unlock the full lesson
You have read the free part. The rest of this advanced lesson:
- Every limit a task must pass
- Pools: protect a shared system
- One instance of a task at a time
- Who goes first
- Common mistakes
- Key takeaways
- Interview prep with 3 follow-up questions
- Check yourself: 3 questions
Unlock it with the Complete pass (every advanced problem and lesson) or on its own.
Practise this
Problems that use this, graded on hidden tests
Keep going
Up next · Running Airflow in production · lesson 2 of 4 · 4 min readAirflow 3 architecture in production
The life of a task instance, executors, DAG bundles and versions, and what production needs.
Related lessons
Previous: Idempotent pipelines with Spark and Delta
Primary sources: Pools · Priority weights · Configuration reference