Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Apache Airflow Best Practices
  • Table Of Contents Toc
Apache Airflow Best Practices

Apache Airflow Best Practices

By : Dylan Intorf, Dylan Storey, Kendrick van Doorn
5 (2)
close
close
Apache Airflow Best Practices

Apache Airflow Best Practices

5 (2)
By: Dylan Intorf, Dylan Storey, Kendrick van Doorn

Overview of this book

Data professionals face the challenge of managing complex data pipelines, orchestrating workflows across diverse systems, and ensuring scalable, reliable data processing. This definitive guide to mastering Apache Airflow, written by experts in engineering, data strategy, and problem-solving across tech, financial, and life sciences industries, is your key to overcoming these challenges. Covering everything from Airflow fundamentals to advanced topics such as custom plugin development, multi-tenancy, and cloud deployment, this book provides a structured approach to workflow orchestration. You’ll start with an introduction to data orchestration and Apache Airflow 2.x updates, followed by DAG authoring, managing Airflow components, and connecting to external data sources. Through real-world use cases, you’ll learn how to implement ETL pipelines and orchestrate ML workflows in your environment, and scale Airflow for high availability and performance. You’ll also learn how to deploy Airflow in cloud environments, tackle operational considerations for scaling, and apply best practices for CI/CD and monitoring. By the end of this book, you’ll be proficient in operating and using Apache Airflow, authoring high-quality workflows in Python, and making informed decisions crucial for production-ready Airflow implementations.
Table of Contents (20 chapters)
close
close
Lock Free Chapter
1
Part 1: Apache Airflow: History, What, and Why
4
Part 2: Airflow Basics
7
Part 3: Common Use Cases
13
Part 4: Scale with Your Deployed Instance

DAG deployments

We’ll start with a discussion of how to get your Airflow DAGs to your Airflow deployment. We won’t discuss specific implementation details because they can vary depending on your specific use case, security context, and operational needs.

Bundling

The DAG bundling pattern may be the most obvious pattern and is a very common starting point on your journey to using Airflow in production. It’s also antithetical to the code as configuration paradigm that is core to Airflow’s development and consumption.

The general pattern is to physically bundle your DAGs within the same file system as your Airflow system, even in a system with distributed compute. This is achieved by having your container build process install Airflow and copy your DAGs into the container during the image build process. This image can then be tagged and distributed to ensure that all components are operating using the exact same Airflow, plugin, and DAG versions.

...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Apache Airflow Best Practices
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon