Comparison · Orchestration

Airflow or Dagster:
which orchestrator to choose?

An orchestrator runs your jobs in the right order, reruns them when they fail and alerts you. Airflow does it by chaining tasks. Dagster starts from the data to be produced. Both are open source and written in Python.

OrchestrationOpen sourcePython

IN SHORT

The short answer.

Airflow if you want the tool most data engineers already know, offered as a managed service by the major clouds. It is the safe choice.

Dagster if you are starting from scratch with a Python team that wants to test its pipelines on a laptop and think in tables rather than tasks.

If your Airflow works, do not migrate: the gain will not pay for the effort.

CRITERION BY CRITERION

What really changes.

CriterionAirflowDagster
OriginAn Apache Foundation project, backed by a large community.An open-source project backed mainly by its vendor.
ModelTasks to run in a given order, described in a DAG.Data assets (tables, files, models) and their dependencies.
EcosystemVery broad: integrations for almost every cloud service and database.Newer and narrower, with a polished dbt integration.
Managed offeringsAt Google (Cloud Composer), at AWS, and at specialist vendors.The vendor’s hosted offering, or your own infrastructure.
Local developmentPossible, but heavy to set up on a laptop.Designed for it: pipelines are run and tested on a laptop.
LineageLimited to tasks. Table lineage comes from elsewhere, from dbt for example.Native: the interface shows each table, where it comes from and when it was produced.
SkillsWidespread: easy to recruit, easy to hand over.Rarer on the market.

Airflow has added a notion of data assets to its model, and both projects are evolving fast. The differences of principle described here remain valid.

IN PRACTICE

When to choose one or the other.

Choose Airflow if…

  • You want a service managed by your cloud provider.
  • The platform will have to be taken over by another team one day.
  • You orchestrate very varied tools: ingestion, dbt, exports, scripts.
  • You already have Airflow pipelines running.

Look at Dagster if…

  • You are starting with no existing setup to take over.
  • Your team is comfortable with Python and wants automated tests on its pipelines.
  • A large share of your processing is written in Python, outside dbt.
  • You accept depending on a less widespread tool.

OUR VIEW

We stay with Airflow, and here is why.

Let us be upfront: we have worked with Airflow for years, and we do not run Dagster for our clients. Our view of Dagster comes from its model and its documentation, not from nights spent troubleshooting it. Take it as such.

Our criterion is handover. A platform we deliver must be able to run without us. Airflow is offered as a managed service, and a data engineer joining you has almost always used it before. That is what runs at a cosmetics brand for nearly 30 sources, as well as at a high-tech manufacturer.

Dagster’s idea is a good one: describe the tables to produce rather than the tasks to run. But in our platforms, that role is already played by dbt, which knows the dependencies between models and carries the lineage. Airflow simply triggers ingestion, then dbt. In that split, its weakness matters little.

FREQUENTLY ASKED QUESTIONS

What we are often asked.

Do you always need an orchestrator?

No. For one ingestion and one dbt run a day, a scheduled job on Cloud Run is enough, at very low cost. Orchestration becomes necessary when pipelines depend on one another and have to be rerun cleanly.

Is Airflow heavy to administer?

If you install it yourself, yes: several components to run and keep up to date. As a managed service, most of that disappears. What remains is an environment that is on permanently, so a fixed cost to be aware of.

Should you migrate from Airflow to Dagster?

Rarely. Rewriting pipelines that work changes nothing for the people who read your dashboards. The question is worth asking at the time of a redesign, not before.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project