DataBurst Data Engineering Wiki - Roadmap Step-by-Step: https://wiki.databurst.tech/docs/roadmap/ - Introduction: https://wiki.databurst.tech/docs/roadmap/introduction/ - Programming Language: https://wiki.databurst.tech/docs/roadmap/programming-language/ - Python: https://wiki.databurst.tech/docs/roadmap/programming-language/python/ - Java: https://wiki.databurst.tech/docs/roadmap/programming-language/java/ - Scala: https://wiki.databurst.tech/docs/roadmap/programming-language/scala/ - Go: https://wiki.databurst.tech/docs/roadmap/programming-language/go/ - Rust: https://wiki.databurst.tech/docs/roadmap/programming-language/rust/ - Operating System: https://wiki.databurst.tech/docs/roadmap/operating-system/ - Windows: https://wiki.databurst.tech/docs/roadmap/operating-system/windows/ - Linux: https://wiki.databurst.tech/docs/roadmap/operating-system/linux/ - Networking: https://wiki.databurst.tech/docs/roadmap/networking/ - Protocols: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ - TCP/IP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/tcp/ - DNS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/dns/ - HTTP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/http/ - HTTPS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/https/ - SSH: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ssh/ - UDP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/udp/ - Concepts: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ - IP addressing: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ip-addressing/ - DHCP: https://wiki.databurst.tech/docs/roadmap/networking/concepts/dhcp/ - Firewalls: https://wiki.databurst.tech/docs/roadmap/networking/concepts/firewalls/ - VPN: https://wiki.databurst.tech/docs/roadmap/networking/concepts/vpn/ - General Software Engineering Skills: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/ - OAuth: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/oauth/ - JWT: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/jwt/ - GraphQL: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/graphql/ - REST: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/rest/ - gRPC: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/grpc/ - Caching: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/caching/ - Web Frameworks and API Development: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/ - Python: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/python/ - Go: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/go/ - Java: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/java/ - Version Control System: https://wiki.databurst.tech/docs/roadmap/version-control-system/ - git: https://wiki.databurst.tech/docs/roadmap/version-control-system/git/ - Version Control System Hosting: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/ - Github: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/github/ - Gitlab: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/gitlab/ - BitBucket: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/bitbucket/ - Distributed Systems Concepts: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/ - CAP: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/cap/ - PACELC: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/pacelc/ - Sharding: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/sharding/ - Clock: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/clock/ - ACID: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/acid/ - Replication: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/replication/ - Distributed Transactions: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/transaction/ - Indexing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/indexing/ - Batch and Stream Processing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/batch-and-stream-processing/ - Consistency vs Eventual Consistency: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/consistency-vs-eventual-consistency/ - Normalization or Denormalization: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/normalization-or-denormalization/ - SQL Fundamentals: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/ - Basic SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/basic-sql/ - Advanced SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/advanced-sql/ - Databases: https://wiki.databurst.tech/docs/roadmap/databases/ - Relational: https://wiki.databurst.tech/docs/roadmap/databases/relational/ - NoSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/ - Columnar: https://wiki.databurst.tech/docs/roadmap/databases/nosql/columnar/ - Document Based: https://wiki.databurst.tech/docs/roadmap/databases/nosql/document-based/ - Key-Value: https://wiki.databurst.tech/docs/roadmap/databases/nosql/key-value/ - Time Series: https://wiki.databurst.tech/docs/roadmap/databases/nosql/time-series/ - Vector: https://wiki.databurst.tech/docs/roadmap/databases/nosql/vector/ - Graph: https://wiki.databurst.tech/docs/roadmap/databases/nosql/graph/ - NewSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/newsql/ - Data Modeling: https://wiki.databurst.tech/docs/roadmap/data-modeling/ - Star Schema (Ralph Kimball): https://wiki.databurst.tech/docs/roadmap/data-modeling/star-schema/ - Snowflake: https://wiki.databurst.tech/docs/roadmap/data-modeling/snowflake/ - Data Vault: https://wiki.databurst.tech/docs/roadmap/data-modeling/data-vault/ - Data Management Architecture: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/ - Relational Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/relational-data-warehouse/ - Data Lake: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lake/ - Modern Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/modern-data-warehouse/ - Data Fabric: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-fabric/ - Data Mart: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mart/ - Data Lakehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lakehouse/ - Data Mesh: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mesh/ - Data Integration: https://wiki.databurst.tech/docs/roadmap/data-integration/ - ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/etl/ - ELT: https://wiki.databurst.tech/docs/roadmap/data-integration/elt/ - CDC: https://wiki.databurst.tech/docs/roadmap/data-integration/cdc/ - Reverse ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/reverse-etl/ - Storage: https://wiki.databurst.tech/docs/roadmap/storage/ - Block Storage: https://wiki.databurst.tech/docs/roadmap/storage/block-storage/ - Object Storage: https://wiki.databurst.tech/docs/roadmap/storage/object-storage/ - File Formats and Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/ - File Formats: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/ - CSV: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/csv/ - JSON: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/json/ - Parquet: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/parquet/ - XML: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/xml/ - Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/ - Avro: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/avro/ - Protocol Buffers: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/protobuf/ - Query Engine: https://wiki.databurst.tech/docs/roadmap/query-engine/ - Apache Hive: https://wiki.databurst.tech/docs/roadmap/query-engine/hive/ - SparkSQL: https://wiki.databurst.tech/docs/roadmap/query-engine/sparksql/ - Trino: https://wiki.databurst.tech/docs/roadmap/query-engine/trino/ - Presto: https://wiki.databurst.tech/docs/roadmap/query-engine/presto/ - Data Architecture: https://wiki.databurst.tech/docs/roadmap/data-architecture/ - Kappa: https://wiki.databurst.tech/docs/roadmap/data-architecture/kappa/ - Lambda: https://wiki.databurst.tech/docs/roadmap/data-architecture/lambda/ - Data Processing: https://wiki.databurst.tech/docs/roadmap/data-processing/ - Pipeline Orchestration: https://wiki.databurst.tech/docs/roadmap/pipeline-orchestration/ - Messaging and Streaming Platform: https://wiki.databurst.tech/docs/roadmap/messaging-and-streaming-platform/ - Data Governance: https://wiki.databurst.tech/docs/roadmap/data-governance/ - Data Quality: https://wiki.databurst.tech/docs/roadmap/data-governance/data-quality/ - Data Visualization: https://wiki.databurst.tech/docs/roadmap/data-visualization/ - Containerization: https://wiki.databurst.tech/docs/roadmap/containerization/ - Docker: https://wiki.databurst.tech/docs/roadmap/containerization/docker/ - Podman: https://wiki.databurst.tech/docs/roadmap/containerization/podman/ - containerd: https://wiki.databurst.tech/docs/roadmap/containerization/containerd/ - Container Orchestration: https://wiki.databurst.tech/docs/roadmap/container-orchestration/ - Kubernetes: https://wiki.databurst.tech/docs/roadmap/container-orchestration/kubernetes/ - Docker Swarm: https://wiki.databurst.tech/docs/roadmap/container-orchestration/docker-swarm/ - Apache Mesos: https://wiki.databurst.tech/docs/roadmap/container-orchestration/apache-mesos/ - CI/CD: https://wiki.databurst.tech/docs/roadmap/cicd/ - DataOps: https://wiki.databurst.tech/docs/roadmap/cicd/dataops/ - Infrastructure as Code: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/ - Configuration Management: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/configuration-management/ - Infrastructure Provisioning: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/infrastructure-provisioning/ - Observability: https://wiki.databurst.tech/docs/roadmap/observability/ - Logging: https://wiki.databurst.tech/docs/roadmap/observability/logging/ - Monitoring: https://wiki.databurst.tech/docs/roadmap/observability/monitoring/ - Tracing: https://wiki.databurst.tech/docs/roadmap/observability/tracing/ - Glossary: https://wiki.databurst.tech/docs/roadmap/glossary/
$ airflow dags trigger sales_daily
# Pipeline Orchestration **Pipeline orchestration** is running many data tasks in the right order, on a schedule or in response to events, and dealing with what goes wrong. An orchestrator knows that the sales report can only be built after both the orders and the users tables are loaded, starts each task when its inputs are ready, retries tasks that fail, alerts someone when retries run out, and can re-run any past day on demand. Cron can start a script at 02:00. It can't tell you that step three failed, wait for step two before starting step three, or re-run last Tuesday. That gap is what orchestrators fill. ## A DAG, run by run Workflows are described as a **DAG** (directed acyclic graph): tasks are nodes, dependencies are arrows, and there are no cycles, so there is always a valid order to run them in. {{< fig kicker="$ airflow dags trigger sales_daily --logical-date 2026-11-15" title="Dependencies, a retry, then a backfill" >}} DAG sales_daily · @daily · run for 2026-11-15 extract_ordersqueued extract_usersqueued build_saleswaiting on 2 upstream refresh_dashboardqueued sync_crmqueued extract_orderssuccess · 2m extract_userssuccess · 40s build_salesfailed · try 1 of 4 warehouse timeout build_salessuccess · try 2 retried after 5 min refresh_dashboardsuccess sync_crmsuccess BACKFILL · same DAG, one run per past day 11-08 ✓ 11-09 ✓ 11-10 ✓ 11-11 ✓ 11-12 run 11-13 11-14
  1. Five tasks, four dependencies. The scheduler creates a run for the 2026-11-15 data interval. Nothing can start until its upstream tasks succeed.
  2. The two extracts have no upstream tasks, so they run in parallel and both succeed.
  3. build_sales starts and fails: the warehouse timed out. It has retries = 3 (up to 4 tries), so nothing downstream runs and no one is paged yet.
  4. After the retry delay, try 2 succeeds. Transient failures heal themselves; only exhausted retries alert.
  5. Both downstream tasks were waiting on build_sales. Now they run in parallel. The run is green.
  6. A bug was fixed in build_sales. A backfill re-runs the DAG for each past day, each with its own data interval. This only works if every task is idempotent.
{{< /fig >}} ## Core concepts - **Schedule and data interval**: a daily run for 2026-11-15 processes that day's data, even if it actually starts on the 16th or is re-run a month later. Tasks should read the logical date or data interval from the run context, never from `now()`. - **Dependencies**: explicit task-to-task edges, or **asset/data-aware scheduling**, where a DAG runs when the table it reads has been updated (Airflow assets, Dagster software-defined assets). - **Retries and timeouts**: retry transient errors with a delay; set a timeout so a hung task doesn't block the pipeline forever. - **Idempotency**: running a task twice for the same interval gives the same result. Overwrite a partition or `MERGE`, never blindly `INSERT`. See [idempotent tasks](#idempotent-tasks) below. - **Backfills and catch-up**: re-run history after a bug fix or for a new pipeline. - **Sensors and events**: start when a file lands, a Kafka message arrives or an upstream system finishes, instead of guessing a time. - **Observability**: run history, logs per task, durations, SLAs and alerts. The orchestrator should **coordinate** work, not do it. Heavy lifting belongs in Spark, the warehouse, dbt or a container; the orchestrator just triggers it and watches. ## Idempotent tasks A task is **idempotent** when running it once or ten times for the same data interval leaves the target in the same state. Orchestrators assume this: a [retry and a backfill](#a-dag-run-by-run) both simply run the task again. If the task appends, every re-run adds another copy of the day. {{< fig kicker="$ airflow tasks clear sales_daily -t build_sales -s 2026-11-15" title="Run the same day twice: append vs overwrite" >}} build_sales · 2026-11-15 computes 3 rows · SUM 77.50 APPEND INSERT INTO sales SELECT … OVERWRITE THE PARTITION DELETE WHERE dt = '2026-11-15'; INSERT … order_iddtamount order_iddtamount 10012026-11-1540.00 10022026-11-1525.50 10032026-11-1512.00 10012026-11-1540.00 10022026-11-1525.50 10032026-11-1512.00 run 1 · +3run 1 · 3 rows 10012026-11-1540.00 10022026-11-1525.50 10032026-11-1512.00 run 2 · +3 SUM 155.00 ✗ day counted twice 10012026-11-1540.00 10022026-11-1525.50 10032026-11-1512.00 run 2 · same 3 SUM 77.50 ✓ same result MERGE INTO sales t USING new s ON t.order_id = s.order_id update if matched, else insert
  1. The daily task for 2026-11-15 computes three orders worth 77.50. Two versions of it write to the same kind of table.
  2. Run 1: both tables get the same three rows. On the first run you can't tell them apart.
  3. The task is retried after a timeout, or a backfill re-runs the day. The append version inserts the three rows again: revenue doubles, silently.
  4. The overwrite version deletes the 2026-11-15 partition and writes it again, in one transaction. Still three rows, still 77.50.
  5. When rows can change or arrive late, a MERGE on the business key does the same job: re-running updates the same rows instead of adding new ones.
{{< /fig >}} Ways to make a task idempotent: - **Overwrite the partition** for the run's data interval: `INSERT OVERWRITE ... PARTITION (dt = '{{ ds }}')`, Spark's dynamic partition overwrite, or `DELETE` + `INSERT` in one transaction. The simplest and most common pattern. - **MERGE / upsert on a key** (`order_id`) when a run touches rows across many partitions, or for late-arriving updates. - **Derive everything from the run context**: the data interval decides which rows are read and which partition is written. A task that reads "the last 24 hours" from `now()` reads different data on every retry. - **Deterministic file names** for file outputs (`s3://.../dt=2026-11-15/part-000.parquet`, overwritten) instead of random ones that pile up. - **Side effects** (emails, API calls, payments) need an idempotency key or a "sent" table checked before sending. ## A minimal Airflow 3 DAG ```python from datetime import timedelta from airflow.sdk import dag, task @dag(schedule="@daily", catchup=False, default_args={"retries": 3, "retry_delay": timedelta(minutes=5)}) def sales_daily(): @task def extract_orders(): ... @task def extract_users(): ... @task def build_sales(orders, users): ... @task def refresh_dashboard(sales): ... @task def sync_crm(sales): ... sales = build_sales(extract_orders(), extract_users()) refresh_dashboard(sales) sync_crm(sales) sales_daily() ``` Backfill a week: `airflow backfill create --dag-id sales_daily --from-date 2026-11-08 --to-date 2026-11-14`. One Airflow 3 detail: by default a cron schedule such as `@daily` no longer gets a one-day data interval; the run's interval is zero-length and its logical date is the moment it is scheduled. If tasks should process "the previous day" from the interval, as in Airflow 2, pass `CronDataIntervalTimetable` (from `airflow.sdk`) as the schedule or set `[scheduler] create_cron_data_intervals = True`. ## Tools in 2026 | Tool | Model | Good fit | |---|---|---| | [Apache Airflow](https://airflow.apache.org/) | Task DAGs in Python | The default. Huge provider ecosystem; managed as MWAA, Cloud Composer, Astronomer. Airflow 3 (2025) added DAG versioning, a new React UI, assets (renamed from datasets), the Task SDK and scheduler-managed backfills. | | [Dagster](https://dagster.io/) | Data assets in Python | Teams who think in tables, not tasks; strong lineage, testing and dbt integration | | [Prefect](https://www.prefect.io/) | Python functions as flows | Dynamic, Python-heavy workflows with little boilerplate | | [Argo Workflows](https://argoproj.github.io/workflows/) | Kubernetes CRDs (YAML) | Container-native jobs, ML pipelines, teams already on Kubernetes | | [Kestra](https://kestra.io/) | Declarative YAML | Event-driven flows, mixed-language teams | | [Mage](https://www.mage.ai/) | Notebook-style blocks | Small teams wanting a UI-first experience | | Cloud-native | Step Functions, Databricks Lakeflow Jobs, Azure Data Factory | Pipelines that live entirely inside one platform | ## Common mistakes - **Doing heavy processing inside the orchestrator's workers.** It turns the scheduler into a bottleneck. Push work to the right engine. - **Using `datetime.now()` in tasks.** Backfills then process today's data for every past day. Use the run's data interval. - **Non-idempotent tasks**, which make retries and backfills create duplicates. - **One giant DAG** for everything. Split by domain and connect with assets or events. - **Alerting on every failed try.** Alert when retries are exhausted or an SLA is missed, or people learn to ignore alerts. ## Learning Resources ### Docs - [Apache Airflow documentation](https://airflow.apache.org/docs/apache-airflow/stable/index.html) and [Airflow best practices](https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html) - [Dagster: Software-defined assets](https://docs.dagster.io/) - [Prefect documentation](https://docs.prefect.io/) - [Argo Workflows documentation](https://argo-workflows.readthedocs.io/) ### Books and articles - [Data Pipelines with Apache Airflow](https://www.manning.com/books/data-pipelines-with-apache-airflow): Harenslak and de Ruiter - [Fundamentals of Data Engineering](https://www.oreilly.com/library/view/fundamentals-of-data/9781098108298/), Chapter 2 "Orchestration" undercurrent: Reis and Housley - [Functional Data Engineering](https://maximebeauchemin.medium.com/functional-data-engineering-a-modern-paradigm-for-batch-data-processing-2327ec32c42a): Maxime Beauchemin, creator of Airflow ### Videos - [Airflow Tutorial for Beginners: Full Course in 2 Hours](https://www.youtube.com/watch?v=K9AnJ9_ZAXE) - [Top 5 Open Source Data Orchestration tools](https://www.youtube.com/watch?v=8WeNYROA-Tw) See also: [ETL]({{< relref "/docs/roadmap/data-integration/etl" >}}), [ELT]({{< relref "/docs/roadmap/data-integration/elt" >}})