1 Meet Apache Airflow

 

This chapter covers

  • Representing data pipelines in workflows as graphs of tasks
  • How Airflow fits into the ecosystem of workflow managers
  • Determining if Airflow is a good fit for you

Enterprises are continuously becoming more data-driven and are developing data pipelines as part of their daily business. Data volumes involved in these business processes have increased substantially over the years, from megabytes per day to gigabytes per minute. Though handling this data deluge may seem like a considerable challenge, these increasing data volumes can be managed with the appropriate tooling.

This book focuses on Apache Airflow, a batch-oriented[1] framework for building data pipelines[2]. Airflow’s key feature is that it enables you to easily build scheduled data pipelines using Python, while also providing many building blocks that allow you to stitch together the many different technologies encountered in modern technological landscapes.

Airflow is best thought of as a spider in a web: it sits in the middle of your data processes and coordinates work happening across the different (distributed) systems. As such, Airflow is not a data processing tool in itself but orchestrates the different components responsible for processing your data in data pipelines.

1.1 Introducing data pipelines

 
 
 
 

1.1.1 Data pipelines as graphs

 

1.1.2 Executing a pipeline graph

 
 
 

1.1.3 Pipeline graphs vs. sequential scripts

 
 
 
 

1.1.4 Running pipelines using workflow managers

 

1.2 Introducing Airflow

 
 

1.2.1 Defining pipelines flexibly in (Python) code

 

1.2.2 Integration with external systems

 
 

1.2.3 Scheduling and executing pipelines

 

1.2.4 Monitoring and handling failures

 
 

1.2.5 Incremental loading and backfilling

 
 
 

1.3 When to use Airflow

 
 

1.3.1 Reasons to choose Airflow

 
 
 

1.3.2 Reasons not to choose Airflow

 
 

1.4 The rest of this book

 
 
 

1.5 Summary

 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage