Перейти к содержанию

Architecture Overview

Documentation

Airflow is a platform that lets you build and run workflows. A workflow is represented as a DAG (a Directed Acyclic Graph), and contains individual pieces of work called Tasks, arranged with dependencies and data flows taken into account.

An Airflow installation generally consists of the following components:

  1. A scheduler, which handles both triggering scheduled workflows, and submitting Tasks to the executor to run.
  2. An executor, which handles running tasks. In the default Airflow installation, this runs everything inside the scheduler, but most production-suitable executors actually push task execution out to workers.
  3. A webserver, which presents a handy user interface to inspect, trigger and debug the behaviour of DAGs and tasks.
  4. A folder of DAG files, read by the scheduler and executor (and any workers the executor has)
  5. A metadata database, used by the scheduler, executor and webserver to store state.

Airflow components