Software Development

Is Apache Airflow scalable enough for modern data engineering?

GR Asked by Gregory Schultz · 22-02-2025
0 upvotes 8,772 views 0 comments
The question

We are scaling our infrastructure and processing thousands of concurrent tasks daily. Our core engineering question is whether Airflow is still dominating data pipelines at this extreme volume, or if the scheduler becomes a massive bottleneck. We have faced database locks in our metadata layer using LocalExecutor. Would moving to Celery or Kubernetes executors solve this bottleneck completely, or should we look at other options?

3 answers

0
HE
Answered on 11-04-2025

Airflow can easily scale to millions of tasks if configured with the right distributed executor. The common performance bottlenecks usually stem from poor database tuning or using a basic executor like the LocalExecutor which runs tasks on a single machine. By migrating your pipelines to the KubernetesExecutor or CeleryExecutor, you distribute the heavy workloads across isolated pods or workers. Furthermore, optimizing settings like the file processing interval and scaling up your metadata database instances will alleviate the locks and ensure your scheduler runs perfectly under heavy loads.

0
DO
Answered on 30-05-2025

I am considering this migration for our team too. Does migrating to the KubernetesExecutor significantly increase the task latency due to pod spinning times, or is it negligible for long-running ETL processes?

GA 14-07-2025

The pod creation overhead is usually around a few seconds, which is completely negligible if your processing tasks run for several minutes or hours. However, if your data pipeline consists of hundreds of micro-tasks that execute in seconds, you might find the CeleryExecutor better since it uses workers that are already up and waiting.

0
AL
Answered on 19-08-2025

Transitioning to a distributed executor transformed our delivery. Our database locks completely disappeared once we isolated task executions into dedicated nodes.

GR 25-10-2025

That matches our experience perfectly. Tuning the pool sizes alongside the executor migration is critical because it prevents your workers from overwhelming external databases during concurrent runs.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session