[Demo] Self-hosting Airflow: what to plan for before you start
- 20 Oct, 2026
Running Airflow yourself gives you control and costs you operations work. These are the points worth deciding early.
Pick the executor deliberately
The executor decides how tasks run and how you scale. Kubernetes-based execution isolates each task and fits spiky workloads. Simpler setups are fine at small scale. Decide with your DAG count and task duration in mind.
DAG hygiene beats tuning
- Keep DAG files light. The scheduler parses them constantly.
- Avoid heavy imports and network calls at parse time.
- Set sensible retries, timeouts, and concurrency limits.
- Make tasks idempotent so a retry is safe.
Observability
Track scheduler heartbeat, DAG parse time, queued versus running tasks, and failures per DAG. Alert on a stuck scheduler before users notice late data.
Deployments
Treat DAGs like code: version them, test them, and ship them through CI. Keep the metadata database backed up, and rehearse the restore.
Airflow is easy to start and easy to neglect. A little process early saves a lot of firefighting later.