# Dagster

> Orchestrate pipelines as software-defined assets with Dagster: assets, partitions, resources, sensors and built-in lineage and observability. Free notes, key...

Canonical: https://www.internhack.in/roadmaps/tracks/data-engineer/dagster
Last updated: 2026-11-28

Orchestrate pipelines as software-defined assets with Dagster: assets, partitions, resources, sensors and built-in lineage and observability.

Intermediate · about 8 hours · difficulty 3/5

Learn first: [Orchestration Concepts](https://www.internhack.in/roadmaps/tracks/data-engineer/orchestration-concepts)

Dagster is a modern orchestrator built around **data assets** rather than tasks. Instead of "run this function at 2 a.m.", you declare "this table depends on these tables and should be refreshed daily". It is growing fast in newer startups and data platform teams.

### Core concepts

- **Assets**: Python functions decorated with `@asset` that produce a table, file or model. Dependencies come from function arguments.
- **Partitions**: daily, monthly or custom partitions per asset, which makes backfills first-class.
- **Resources**: configurable connections (warehouse, S3, API clients) injected into assets, easy to swap for tests.
- **Jobs and schedules**: select assets to materialize on a schedule.
- **Sensors**: trigger on external events such as a new file.
- **Asset checks**: data quality checks attached to assets.

### Integrations

Strong integrations with dbt (each dbt model becomes an asset), Spark, Snowflake, BigQuery, DuckDB, Airbyte and more. The UI shows an asset lineage graph with freshness and materialization history.

### Why teams choose it

- Local development and unit testing are easy.
- Lineage and observability come built in.
- Partitioned backfills are simpler than in task-based tools.

### Trade-offs

Smaller community and fewer job listings than Airflow in India, and the asset mindset takes adjustment if you learned Airflow first.

### Pitfalls

- Wrapping a whole pipeline in one giant asset, losing the lineage benefits.
- Hard-coding connections instead of using resources.

You are ready to move on when you can build a Dagster project with partitioned assets for ingestion and dbt models, add an asset check, and backfill a date range from the UI.

## Key concepts

- **Software-defined assets**
- **Partitions and backfills**
- **Resources**
- **Schedules and sensors**
- **Asset checks**
- **dbt integration**
- **Dagster UI and lineage**

## Other options for this step

- [Apache Airflow](https://www.internhack.in/roadmaps/tracks/data-engineer/airflow): Build, schedule and operate pipelines with Apache Airflow: DAG files, operators, the TaskFlow API, connections, XComs, scheduling and production best practices.
- [Prefect](https://www.internhack.in/roadmaps/tracks/data-engineer/prefect): Orchestrate Python workflows with Prefect: flows, tasks, retries, caching, deployments, work pools and the Prefect UI.

## Mini project

Build a Dagster project with daily-partitioned assets: raw API data, a cleaned Parquet asset and dbt models via the dbt integration. Add an asset check for row count and backfill the last 7 partitions.

## Check yourself

How does thinking in assets rather than tasks change the way you debug a stale dashboard?

## Free resources

- [Dagster documentation](https://docs.dagster.io/) (Dagster)
- [Dagster University](https://courses.dagster.io/) (Dagster)

Previous: [Apache Airflow](https://www.internhack.in/roadmaps/tracks/data-engineer/airflow) · Next: [Prefect](https://www.internhack.in/roadmaps/tracks/data-engineer/prefect)

## More in Containers and Orchestration

- [Docker for Data Engineers](https://www.internhack.in/roadmaps/tracks/data-engineer/docker)
- [Orchestration Concepts](https://www.internhack.in/roadmaps/tracks/data-engineer/orchestration-concepts)
- [Apache Airflow](https://www.internhack.in/roadmaps/tracks/data-engineer/airflow)
- [Dagster](https://www.internhack.in/roadmaps/tracks/data-engineer/dagster)
- [Prefect](https://www.internhack.in/roadmaps/tracks/data-engineer/prefect)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Data Engineer Roadmap](https://www.internhack.in/roadmaps/tracks/data-engineer)
