What is our primary use case?
I am currently working on Apache Airflow.
We use Apache Airflow mainly for orchestration purposes to run SQL scripts in a specific order. Sometimes we have to run them based on dependencies, such as when one script runs, we have to run another script. Primarily to orchestrate the big data pipelines that we have, we use Apache Airflow. We also use Apache Airflow for generating reports and stats every specific interval of three to six hours. We use it for alerting, deriving stats at given intervals, and orchestrating our big data pipelines. These are the three use cases for which we are using Apache Airflow.
What is most valuable?
The best features of Apache Airflow include its Python-based structure, making it easy to start building DAGs. It has all the features one can think of, such as dependency management. There are use cases where one workflow should be completed before another workflow starts, and Apache Airflow offers this capability. It has a clean UI to debug failures and understand the graph flow.
Apache Airflow has event-based scheduling features. They launched data-aware scheduling about a year ago, which can be used effectively. This helped in workflow management by eliminating the need for constant polling. For instance, when workflow A needs to be completed before workflow B can start, instead of using a sensor that polls every five minutes, event-based scheduling automatically triggers workflow B upon completion of workflow A, saving compute resources.
Using DAG for defining workflows in Apache Airflow is beneficial because it is straightforward. There are no loops, which could occur in shell scripts, allowing for a clean structure. When someone who does not know coding looks at the graph, they can easily understand the sequence of steps.
The web interface is an excellent part of Apache Airflow because it helps monitor everything, from all the DAGs to their execution times. It provides complete information from the UI itself. System properties, environment variables, connections, and secrets can all be managed from the UI.
The main benefits from using Apache Airflow include increased monitoring productivity compared to hard-to-debug shell scripts, significant compute savings through event-based scheduling, and increased accessibility as everyone can work and create their own workflows due to its Python-based nature.
What needs improvement?
The restarting part or rerunning specific tasks in Apache Airflow is somewhat confusing for users because it does not directly say restart or replay. It says clear, and users have to select upstream, downstream, and other options. It requires understanding of the framework, which most support people do not have. This process can be simplified.
The start date in Apache Airflow is also confusing because it is not straightforward. If you want it to start today, you should give tomorrow's date. Some people do not do that calculation correctly, so that can be improved. Either documentation can be improved, or they should develop some workaround. These are two improvements that should be included in the next releases of Apache Airflow.
For how long have I used the solution?
I have been working with Apache Airflow for around three years.
Which solution did I use previously and why did I switch?
For orchestration, we previously used Control-M. The key differences between Control-M and Apache Airflow include accessibility. Not everybody can work with Control-M because it requires shell scripting knowledge, while Apache Airflow does not have this limitation. Control-M is straightforward to learn, but there are not many resources. It is also very old, and users cannot understand the workflows just by looking at the nodes in Control-M.
How was the initial setup?
The initial setup and deployment of Apache Airflow are straightforward. If you follow the instructions, it is easy to start the instance. Later, you need to configure connections with different sources such as BigQuery or GCS.
Which other solutions did I evaluate?
We found Apache Airflow was the best option when looking to move out, and many enterprises are using it.
What other advice do I have?
Performance-wise, Apache Airflow is good. It receives a rating of nine because we cannot see any lags in our workflows, and due to parallelism, the workflows do not affect each other.
I would suggest other organizations choose Apache Airflow because there is nothing better at this point in time which is open-source.
On a scale of one to ten, I rate Apache Airflow as a product and solution a nine. However, I want improvement in the start date and the rerunning of specific tasks. One more feature I would want to see in Apache Airflow is the ability to hold a specific task from running for a given day, as that feature is available in Control-M but not here.