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

Summary

In this chapter, we covered some key areas of the Airflow architecture and the primary components that make up connections and secrets. We spent time analyzing what Connections are, how to create, edit, and delete a connection, and how they are best used. In addition, secrets are often needed to create and maintain connections. There are multiple ways and tools available to meet your team’s needs and business goals, but the following chart may help with future decisions.

Method

Pros

Cons

Environment Variables

Simple and easy to set up and use

Not very secure, with no access from Airflow UI or CLI

Metadata Database

Quick to set up and edit values via the UI and CLI

Not secure and hard to scale

...
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