PrepCity

Workflow orchestration

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 6 pages · about 5 min

Workflow orchestration

An orchestrator such as Airflow runs a pipeline’s steps in order, each one only after the step before has succeeded, and retries the ones that fail. Measured over two weeks against cron’s fixed times.

What it is
An orchestrator, such as Apache Airflow, starts a pipeline’s steps on a schedule, each one only after the steps it needs have succeeded.
What it is for
Nightly jobs fail and run slow. Without one, a step runs on half the data or none, and the morning report is wrong without anyone knowing.
Use it when
As soon as a pipeline has more than one step, runs on a schedule, and someone relies on what it produces.
Not when
For one small script that nothing else depends on: a single cron line is enough.

Words you’ll learn

  • Database
  • Partition
  • Data pipeline
  • Cron
  • Orchestrator
  • Airflow
  • DAG
  • Retry
  • Outage
  • Catch-up run

Page by page