DAGs
A workflow is called a DAG, a directed acyclic graph: tasks with dependencies and no loops. "Download the file, then validate it, then load it, then refresh the report" is a four-task DAG. A scheduler triggers it daily or on any cron-style rule, and workers execute tasks.
What it is good at
Coordinating batch jobs across many systems, backfilling missed days, alerting on failures and keeping a history of every run. Operators and providers connect it to databases, cloud storage and APIs.
What to weigh
- It is not a streaming engine and is not meant to process large data itself; it orchestrates other tools.
- Running it yourself means managing a scheduler, database and workers. Managed versions exist on AWS (MWAA), Google Cloud (Composer) and Astronomer.
- For three nightly scripts, cron with logging is simpler. Competitors include Dagster, Prefect and cloud-native step functions.
Questions, answered
Mostly, since DAGs are Python code, but it can orchestrate any scripted business process.
It runs tasks that move data; heavy lifting should happen in the databases or engines it calls.