title: “Airflow Survey 2022” linkTitle: “Airflow Survey 2022” author: “John Thomas, Ewa Tatarczak” github: “Tohn Jhomas” linkedin: “john-e-thomas” description: “2021 saw rapid adoption of Airflow 2, and continued growth of the community. This annual survey helps us understand how people are using Airflow, and where we can best focus our efforts going forward.” tags: [“community”, “survey”, “users”] date: “2022-06-17”

Airflow User Survey 2022

This year’s survey has come and gone, and with it we’ve got a new batch of data for everyone! We collected 210 responses over two weeks. We continue to see growth in both contributions and downloads over the last two years, and expect that trend will continue through 2022.

The raw response data will be made available here soon, in the meantime, feel free to email john.thomas@astronomer.io for a copy.

TL;DR

Overview of the user

  • Like previous years, more than half of the Airflow users are Data Engineers (54%). Solutions Architects (13%), Developers (12%), DevOps (6%) and Data Scientists (4%) are also active Airflow users! There was a slight increase in the representation of Solutions Architect roles compared to results from 2020 and 2019 .
  • Airflow is used and popular in bigger companies, 64% of Airflow users work for companies with 200+ employees which is an 11 percent increase compared to 2020.
  • 62% of the survey participants have more than 6 Airflow users in their company.
  • More Airflow users (65.9%) are willing to recommend Apache Airflow compared to the survey results in 2020 and 2019. There is a general positive trend in a willingness to recommend Airflow, 93% of surveyed Airflow users are willing to recommend Airflow ( 85.7% in 2019 and 92% in 2020 ), only 1% of users are not likely to recommend (3.6% in 2019 and 3.5% in 2020).
  • Airflow documentation is a critical source of information, with more than 90% (15% increase compared to results from 2020) of survey participants using the documentation. Airflow documentation is also one of the top areas to improve! What’s interesting, also Stack Overflow usage is critical, with about 60% users declaring to use it as a source of information (24% increase compared to results from 2020).

Deployments

  • 85% of the Airflow users have between 1 to 7 active Airflow instances. 62.5% of the Airflow users have between 11 to 250 DAGs in their largest Airflow instance. 75% of the surveyed Airflow users have between 1 to 100 tasks per DAG.
  • Close to 85% of users use one of the Airflow 2 versions, 9.2% users still use 1.10.15, while the remaining 6.3% are still using olderAirflow 1 versions. The good news is that the majority of users on Airflow 1 are planning migration to Airflow 2 quite soon, with resources and capacity being the main blockers.
  • In comparison to results from 2020, more users were interested in monitoring in general and specifically in using tools such as external monitoring services (40.7%, up from 29.6%) and information from metabase (35.7%, up from 25.1%).
  • Celery (52.7%) and Kubernetes (39.4%) are the most common executors used.

Usage

  • 81.3% of Airflow users who responded to the survey don’t have any customisation of Airflow.
  • Xcom (69.8%) is the most popular method to pass inputs and outputs between tasks, however Saving and Retrieving Inputs and Outputs from Storage still plays an important role (49%).
  • Lineage itself is a quite new topic for Airflow users, most of them don’t use lineage solutions but might be interested if supported by Airflow (47.5%), are not familiar with data lineage (29%) or that data lineage is not their concern (13%).
  • The Airflow web UI is used heavily for Monitoring Runs (95.9%), Accessing Task Logs (89.8%), Manually triggering DAGs (85.2%), Clearing Tasks (82.7%) and Marking Tasks as successful (60.7%). The top 3 views used are: List of DAGs, Task Logs and DAG Runs, which is very similar to results from 2020 and 2019.

Community and contribution

  • Most Airflow users (57.1%) are aware they could contribute but do not, and an additional 21.7% contribute very rarely. 14.8% of users were not aware they could contribute. There is much more to be done to engage our community to be more active contributors and raise the current 6.4% of users who actively contribute, especially considering that one important blocker for contribution is lack of knowledge on how to start (37.7%).

The future of Airflow

  • The top area for improvement is still the Airflow web UI (49.5%), closely followed by more telemetry for logging, monitoring and alerting purposes (48%). However all those efforts should go in line with improved documentation (36.6.%) and resources about using the Airflow, especially when we take into account the need of onboarding new users (36.6%).
  • DAG Versioning(66.2%) is a winner for new features in Airflow, and it’s not a surprise as this feature may positively impact daily work of Airflow users. It is followed by three other ideas: Dependency management and Data-driven scheduling (42.6%), More dynamic task structure (42.1%) and Multi-Tenancy (37.9%).

Overview of the user

What best describes your current occupation? (single choice)

alt_text

No.%
Data Engineer11454%
Solutions Architect2713%
Developer2512%
DevOps126%
Data Scientist84%
Support Engineer52%
Data Analyst31%
Business Analyst21%
Other147%

According to the survey, more than half of Airflow users are Data Engineers (54%). Roles of the remaining Airflow users might be broken down into Solutions Architects (13%), Developers (12%), DevOps (6%) and Data Scientists (4%). The 2022 results are similar to those from 2019 and 2020 with a slight increase in the representation of Solutions Architect roles.

How often do you interact with Airflow? (single choice)

alt_text

No.%
Every day15473%
At least once per week3617%
At least once per month115%
Less than once per month94%

Users who took the survey are actively using Airflow as part of their current role. 73% of Airflow users who responded use it on a daily basis, 17% weekly.

How many people work at your company? (single choice)

alt_text

No.%
201-50008541%
5000+4923%
51-2004622%
11-502010%
1-1094%

Airflow is a framework that is used and popular in bigger companies, 64% of Airflow users who responded (compared to 52.7% in 2020) work for companies bigger than 200 employees (41% in companies size 201-5000 and 23% in companies size 5000+).

How many people at your company use Airflow? (single choice)

alt_text

No.%
6-208038%
1-56129%
51-2004924%
200+189%

Airflow is generally used by small to medium-sized teams. 62% of the survey participants have more than 6 Airflow users in their company (38% have between 6 and 200 users, 24% between 51-200 users).

How likely are you to recommend Apache Airflow? (single choice)

% 2019% 2020% 2022
Very Likely45.4%61.6%65.9%
Likely40.3%30.4%26.9%
Neutral10.7%5.4%6.3%
Unlikely2.6%1.5%0.5%
Very Unlikely1%1%0.5%

According to the survey, more Airflow users (65.9%) are willing to recommend Apache Airflow compared to the survey results in 2020 and 2019. There is a general positive trend in a willingness to recommend Airflow, 93% of surveyed Airflow users are willing to recommend Airflow (92% in 2020 and 85.7% in 2019), only 1% of users are not likely to recommend (3.6% in 2019 and 3.5% in 2020 ).

What is your source of information about Airflow? (multiple choice)

No.%
Documentation18990.4%
Airflow website (Blog, etc.)14267.9%
Stack Overflow12660.3%
Github Issues10449.8%
Slack9645.9%
Airflow Summit Videos8842.1%
GitHub Discussions7636.4%
Airflow Community Webinars4119.6%
Astronomer Registry5124.4%
Airflow Mailing List3416.3%

Airflow documentation is a critical source of information, with more than 90% of survey participants using the documentation. It is of increasing importance compared to results from 2020 where documentation was at about 75% level. Moreover, more than 60% of users are getting information from the Airflow website (67.9% ) and Stack Overflow (60.3%) which is also a big increase compared to 36% level in 2020. What’s interesting is that Slack usage decreased from 63.05% in 2020 to 45.9% in 2022.

Deployments

How many active DAGs do you have in your largest Airflow instance? (single choice)

alt_text

No.%
51-2506631.7%
11-506430.8%
5-102512.0%
251-500209.6%
<5146.7%
1000+104.8%
501-100094.3%

62.5% of the Airflow users surveyed have between 11 to 250 DAGs in their largest Airflow instance.

How many active Airflow instances do you have? (single choice)

alt_text

No.%
15225.2%
24622.3%
4-74019.4%
33718.0%
20+199.2%
8-1073.4%
11-2052.4%

85% of the Airflow users surveyed have between 1 and 7 active Airflow instances, and nearly 50% have only 1 or 2.

What is the maximum number of tasks that you have used in a single DAG?(single choice)

alt_text

No.%
11-255124.5%
26-504119.7%
51-1003516.8%
<102913.9%
101-2502311.1%
501-100094.3%
1000-250083.8%
251-50083.8%
2500-500041.9%

75% of the surveyed Airflow users have between 1 and 100 tasks per DAG.

How many schedulers do you have in your largest Airflow instance? (single choice)

alt_text

No.%
111355.1%
26129.8%
3188.8%
4+136.3%

More than half of Airflow users who responded to the survey have 1 scheduler in their largest Airflow instance, however it’s important to notice that the second half of Airflow users decided to have 2 schedulers and more.

What executor type do you use? (multiple choice)

No.%
Celery10752.7 %
Kubernetes8039.4%
Local4924.1%
Sequential2110.3%
CeleryKubernetes146.9%

Celery (52.7%) and Kubernetes (39.4%) are the most common executors used. CeleryKubernetes (6.9%) executor also started to be noticed and used by Airflow users.

If you use the Celery executor, how many workers do you have in your largest Airflow instance? (single choice)

alt_text

No.%
2-56444.8%
10+2819.6%
12618.2%
6-102517.5%

Amongst Celery executor users who responded to the survey, close to half the number (44.8%) have between 2 to 5 workers in their largest Airflow instance. It’s notable that nearly a fifth (19.6%) have more than 10 workers.

Which version of Airflow do you currently use? (single choice)

alt_text

No.%
1.10.14 or older136.3%
1.10.15199.2%
2.0.x2311.1%
2.1.x2411.6%
2.2.x7938.2%
2.3.x4923.7%

It's good to see that close to 85% of users who responded to the survey use one of the Airflow 2 versions, 9.2% users still use 1.10.15, while the remaining 6.3% are still using older Airflow 1.10 versions.

The good news is that the majority of users on Airflow 1 are planning migration to Airflow 2 quite soon, as for now they have capacity constraints to undertake such a significant effort in their opinion. However, it can also be noticed in the survey’s comments that some users are generally skeptical towards migration to Airflow 2, they have negative opinions about the new scheduler or compatibility with the helm chart.

As to plans about migration to the newest version of Airflow 2, users who responded to the survey are committed and waiting especially for the features related to dynamic DAGs. However, some users also reported that they are waiting to solve some dependencies they have or they prefer to wait a little bit more for the community to test the new version before they decide to move on.

What metrics do you use to monitor Airflow? (multiple choice)

No.%
External monitoring service8140.7%
Information from metadatabase7135.7%
Statsd5427.1%
I do not use monitoring4723.6%
Other147%

In comparison to results from 2020, more users are monitoring airflow in some way. External monitoring services (40.7%) and information from metabase (35.7%) started to play a more important role in Airflow monitoring.

How do you deploy Airflow? (multiple choice)

No.%
On virtual machines (for example using AWS EC2)6330.6 %
Using a managed service like Astronomer, Google Composer or AWS MWAA5426.2 %
On Kubernetes (using Apache Airflow’s helm chart)4622.3%
On premises4320.9%
On Kubernetes (using custom deployments)3918.9%
On Kubernetes (using another helm chart)2110.2%
Other136.5%

More than half of Airflow users who responded (51.4%) deploy Airflow on Kubernetes. This is about 20 percent more than in 2020. The remaining top deployment methods are on virtual machines (30.6%) and via managed services (26.2%).

How do you distribute your DAGs from your developer environment to the cloud? (single choice)

No.%
Using a synchronizing process (Git sync, GCS fuse, etc)10049%
Bake them into the docker image5125%
Shared files system3014.7%
Other167.9%
I don’t know73.4%

According to the survey responses, the most popular way of distributing DAGs is a synchronizing process, about half of Airflow users (49%) use this process to distribute DAGs from developer environments to the cloud.

Usage

Do you have any customisation of Airflow? (single choice)

alt_text

No.%
No, we use vanilla airflow16581.3%
Yes, we have a separate fork136.4%
Yes, we use a 3rd-party fork125.9%
Yes, we’ve backpropagated bug fixes to an older version136.4%

More Airflow users (81.3%) don’t have any customisation of Airflow (compared to 75.9% in 2020). Those Airflow users who have customisations (18.7%) decided to introduce them mainly to separate development and production workflows, to backport bug fixes, due to security fixes or to run a backfill command on Kubernetes pod.

Which Metadata Database do you use? (single choice)

alt_text

No.%I
PostgreSQL 138643.9%
PostgreSQL 127437.8%
MySQL 82211.2%
MySQL 594.6%
MariaDB42.0%
MsSQL10.5%

According to the survey responses, the most popular metadata databases are PostgreSQL 13 (43.9%) and PostgreSQL 12 (37.8%). This represents a sharp increase from 2020, up from 68.9% to 81.7% total on PostgreSQL, with a corresponding decrease in MySQL, down from 23% to 15%. This is an interesting result taking into account community discussion about not adding support for more database backend or even deciding on single database support.

What's the primary method by which you integrate with providers and external services in your Airflow DAGs? (single choice)

alt_text

No.%
Using existing dedicated operators / hooks7034.5%
Using Bash/Python operators5828.6%
Using custom operators / hooks5024.6%
Using KubernetesPodOperator2512.3%

According to the survey responses, the following ways of using Airflow to connect to external services are the most popular: Using existing dedicated operators / hooks (34.5%), Using Bash/Python operators (28.6%), Using custom operators / hooks (24.6%). Using KubernetesPodOperator (12.3%) is less popular regarding the survey responses. The integration with providers and external services methods ranking is similar to the one from 2020.

What providers do you use in your Airflow DAGs? (multiple choice)

No.%
Amazon Web Services11255.4%
Google Cloud Platform / Google APIs7939.1%
Internal company systems7537.1%
Hadoop / Spark / Flink / Other Apache software5728.2%
Microsoft Azure178.4%
Other2110.5%
I do not use external services in my Airflow DAGs146.9%

It’s not surprising that Amazon Web Services (55.4% vs 59.6% in 2020), on the next three positions Google Cloud Platform (39.1% vs 47.7% in 2020 ), Internal company systems (37.1% vs 55.6% in 2020), and other Apache products (28.2% vs 35.47% in 2020) are leading Airflow providers.

How frequently do you upgrade Airflow environments? (single choice)

alt_text

No.%
every 12 months4622.9%
every 6 months4924.4%
once a quarter4723.4%
Whenever there is a newer version5929.4%

Different frequencies of Airflow environments upgrades are almost equally popular amongst Airflow users who responded to the survey.

Do you upgrade providers separately from the core? (single choice)

alt_text

No.%
When I need it8342.8%
Never - always use the providers that come with Airflow6835.1%
I did not know I can upgrade providers separately3216.5%
I upgrade providers when they are released115.7%

According to the survey responses, Airflow users most often upgrade providers when they need it (42.8%) or prefer to stay with providers that come with Airflow (35.1%). It’s surprising that 16.5% of Airflow users who responded to the survey were not aware that they can upgrade their providers separately from the core Airflow.

How do you pass inputs and outputs between tasks? (multiple choice)

No.%
Xcom14169.8%
Saving and retrieving from Storage9949%
TaskFlow3718.3%
Other52.5%
We don’t2914.4%

According to the survey responses, Xcom (69.8%) is the most popular method to pass inputs and outputs between tasks, however Saving and Retrieving Inputs and Outputs from Storage still plays an important role (49%). It’s interesting that close to 15% of Airflow users who responded to the survey declare to not pass any outputs or inputs between tasks.

Do you use a data lineage backend? (multiple choice)

No.%
No, but I will use such feature if fully supported in Airflow9547.5%
I’m not familiar with data lineage5829%
No, data lineage isn’t a concern for my usage2613%
Yes, I send lineage to an Open Source lineage repository157.5%
Yes, I send lineage to an Enterprise lineage repository73.5%
Yes, I send lineage to a custom internal lineage repository94.5%

When asked what lineage backend Airflow users use, the answers indicated that, while lineage itself is a quite new topic, there is interest in the feature as a whole. Most Airflow users responded that they don’t use lineage solutions currently but might be interested in the future if supported by Airflow (47.5%), are not familiar with data lineage (29%) or that data lineage is not their concern (13%).

Which interfaces of Airflow do you use as part of your current role? (multiple choice)

No.%
Original Airflow Graphical User Interface18994%
CLI9848.8%
API8039.8%
Custom (own created) Airflow Graphical User Interface126%
GCP Composer10.5%

It’s clear that usage of Airflow web UI is important as 94% of users who responded to the survey declare to use it as a part of their current role. Usage of CLI (48.8%) and API (39.8%) goes in pairs but are not so common compared to Airflow web UI usage.

(If GUI Marked) What do you use the GUI for? (multiple choice)

No.%
Monitoring Runs18895.9%
Accessing Task Logs17689.8%
Manually triggering DAGs16785.2%
Clearing Tasks16282.7%
Marking Tasks as successful11960.7%
Other63%

Airflow web UI is used heavily for monitoring: Monitoring Runs (95.9%) and troubleshooting: Accessing Task Logs (89.8%), Manually triggering DAGs (85.2%), Clearing Tasks (82.7%) and Marking Tasks as successful (60.7%).

(if CLI Marked) What do you use the CLI For? (multiple choice)

No.%
Backfilling6356.8%
Manually triggering DAGs5246.8%
Clearing Tasks2623.4%
Monitoring Runs2522.5%
Accessing Task Logs2118.9%
Marking Tasks as successful119.9%
Other1715.3%

Compared to Airflow web UI, Airflow CLI is used mainly for Backfilling (56.8%) and Manually triggering DAGs (46.8%).

In Airflow, which UI views are important for you? (multiple choice)

No.%
List of DAGs17889.4%
Task Logs16281.4%
DAG Runs16080.4%
Graph view14773.9%
Grid/Tree View13869.3%
Run Details11758.8%
DAG details11155.8%
Task Instances10251.3%
Task Duration9145.7%
Code9045.2%
Task Tries6030.2%
Gantt4821.4%
Landing Times2713.6%
Other42%

UI views importance ranking shows that the majority Airflow users use Web UI mostly for monitoring and/or troubleshooting purposes, where the top 3 views are List of DAGs (89.4%), Task Logs (81.4%) and DAG Runs (80.4%). The results are very similar to those from 2020 and 2019.

Community and contribution

Are you participating in the Airflow community discussions? (single choice)

alt_text

No.%
I see them from time to time9948.3%
I regularly follow what‘s being discussed but don’t participate5325.9%
I didn't know I could4120.0%
I actively participate in the discussions125.9%
No.%
I know I can but I do not contribute11657.1%
Very rarely when it relates to what I need4421.7%
I do not know I could3014.8%
I regularly contribute by discussing, reviewing and submitting PR136.4%

Results related to the Airflow contribution are very similar to those about participating in the Airflow community discussions. Most of the Airflow users (57.1%) who responded to the survey are aware but do not contribute or contribute very rarely (21.7%). 14.8% of users were not aware they could contribute. Once again, it’s a clear indicator that there is much more to be done to engage our community to be more active contributors and raise the current 6.4% of users who actively contribute.

If you do not contribute - why?

alt_text

No.%
I have no time to contribute even if would like to6538.9%
I don’t know how to start6337.7%
I don’t have a need to contribute1911.4%
I didn’t know I could127.2%
My employer has policy that makes it difficult to contribute84.8%

According to the survey results, the most important blocker for the Airflow contribution is limited time (38.9%), but surprisingly interesting and important blocker is also lack of knowledge on how to start (37.7%), followed by lack of knowledge that it’s possible to contribute (7.2%).

The future of Airflow

In your opinion, what could be improved in Airflow? (multiple choice)

No.%
Web UI10049.5%
Logging, monitoring and alerting9748.0%
Examples, how-to, onboarding documentation7436.6%
Technical documentation7436.6%
Scheduler performance5627.7%
Reliability5225.7%
DAG authoring4823.8%
REST API4321.3%
Authentication and authorization4120.3%
External integration e.g. AWS, GCP, Apache products4120.3%
Better support for various deployments (Docker-compose/Nomad/Others)3919.3%
Everything works fine for me199.4%
I don’t know42.0%

The results are quite self-explanatory. According to the survey results, the top area for improvement is still the Airflow web UI (49.5%), closely followed by more telemetry for logging, monitoring and alerting purposes (48%). However all those efforts should go in line with improved documentation (36.6.%) and resources about using the Airflow, especially when we take into account the need of onboarding new users (36.6%).

Which features would you like to see in Airflow?

No.%
DAG Versioning12966.2%
Dependency management and Data-driven scheduling8342.6%
More dynamic task structure8242.1%
Multi-Tenancy7437.9%
Signal-based scheduling6734.4%
Better Security (Isolation)6533.3%
Submitting new DAGs externally via API5327.2%
Composable Operators4623.6%
Support for native cloud executors (AWS/GCP/Azure etc.)4422.6%
Better support for Machine Learning3819.5%
Remote CLI3618.5%
Support for hybrid executors2211.3%

According to the survey results, DAG Versioning is a winner for new features in Airflow, and it’s not a surprise as this feature may positively impact daily work of Airflow users. It is followed by three other ideas: Dependency management and Data-driven scheduling (42.6%), More dynamic task structure (42.1%) and Multi-Tenancy (37.9%). Another interesting point from that question is that only 11.3% think that support for hybrid executors is needed in Airflow.