Airflow & DAGs · Core Concepts & DAGs

Core components of Airflow architecture

Easyarchitectureschedulerexecutormetadata

Interview question

What are the core components of Airflow architecture?

How to answer

Scheduler

Decides which task should run and when.

Webserver

Provides the Airflow UI: view , task status, logs, retries, dependencies.

Metadata Database

Stores DAG runs, , states, connections, variables, XCom metadata. Production usually uses PostgreSQL or MySQL/MariaDB. SQLite is mainly for local learning.

Executor

Determines how tasks execute (Sequential, Local, Celery, Kubernetes, …).

Worker

Actually runs tasks in distributed setups (for example Celery workers).

Interview tip: Scheduler decides; workers execute; metadata DB remembers; UI shows what happened.