What Orchestration Actually Solves
Orchestration exists because automated multi-step processes that span systems are fundamentally hard to make reliable. The JTBD is not 'run jobs' — it's 'run jobs reliably, observably, and recoverably at scale.' Understanding that gap is the foundation of understanding Kestra.
The problem before orchestration
Before dedicated orchestration tools, teams automated workflows with cron jobs and custom scripts. This works until it doesn't:
The cron + Bash failure modes:
- A job fails silently at 3am — nobody knows until a downstream system produces bad data
- Job B depends on Job A finishing, but cron has no native concept of dependencies
- A job runs for 6 hours instead of 45 minutes — no alert, no timeout, nobody notices
- To retry a failed step, you run the whole script from the beginning
- You have 40 cron jobs across 12 servers and nobody knows which ones are still needed
- A new engineer joins and asks "how does this work?" — the answer is scattered across a dozen shell scripts and a Confluence page last updated in 2019
What this actually costs:
- Engineering time debugging silent failures
- Data quality issues that surface hours or days after the root cause
- Toil from manual retries and monitoring
- Lost trust in automated systems ("just check it manually to be sure")
The JTBD: engineers don't want an orchestration platform — they want their multi-step automated processes to run reliably without babysitting, be observable when they fail, and recover without manual intervention. Orchestration is how they get that.
A stone in immediate danger of capture. A cron job with no monitoring is always in atari — the failure exists; nobody sees it until the capture is complete.
The jobs-to-be-done across personas
Orchestration isn't one market — it's multiple personas with adjacent but distinct JTBDs:
Data engineers
- JTBD: schedule and monitor ETL/ELT pipelines that move data between systems (Postgres → Snowflake, S3 → BigQuery), backfill historical data, run dbt transformations on a schedule
- Pain without it: Airflow DAGs that break on Python environment changes, pipelines that start regardless of whether their dependencies completed, no easy way to see what failed and why
- Their bar: if a pipeline fails, I want to know within 5 minutes and retry from the failed task — not from the start
Platform / DevOps engineers
- JTBD: automate infrastructure provisioning, deployment pipelines, configuration management, incident response runbooks, and scheduled maintenance jobs across a heterogeneous environment (VMs, containers, cloud services)
- Pain without it: Jenkins pipelines that only the person who wrote them can maintain; no reuse across teams; every team reinvents the monitoring wheel
- Their bar: any engineer on any team should be able to read and modify a workflow; it should work across cloud providers and on-prem
ML / AI engineers
- JTBD: orchestrate model training, evaluation, feature engineering, and deployment pipelines; run agents reliably in production with observability
- Pain without it: Jupyter notebooks that "work on my machine," model retraining that breaks when the data schema changes, agents that fail at step 7 of a 10-step loop with no recovery path
- Their bar: if an agent run fails mid-loop, resume from the last successful step, not from scratch
Business operations teams
- JTBD: automate approval workflows, report generation, data reconciliation, and notifications that span business systems (Salesforce, ERP, email)
- Pain without it: spreadsheets + manual steps + someone remembering to run the report every Monday
- Their bar: non-engineers should be able to understand and maintain these workflows
Why 'reliability + observability + recoverability' is the real product
Every orchestration platform sells the same surface features: scheduling, dependencies, retries. What actually differentiates them is how well they solve the three underlying requirements:
Reliability: the workflow runs when it's supposed to, even when individual tasks fail or external APIs are slow. This requires: dependency management, retry logic with backoff, timeout enforcement, concurrency controls, and handling of partial failures.
Observability: when something goes wrong, you can find out quickly and understand why. This requires: execution state tracking (running, failed, paused, succeeded), task-level logs, execution history search, alerting, and — increasingly — distributed tracing. "The job ran for 6 hours instead of 45 minutes and nobody knew" is an observability failure.
Recoverability: when something goes wrong, you can fix it without starting over. This requires: resuming from the failed task (not the beginning), replaying specific tasks with different inputs, backfilling historical runs, and the ability to modify and redeploy without breaking in-flight executions.
These three properties are why Kestra calls itself an orchestration platform, not a scheduler. A scheduler tells jobs when to start. An orchestration platform makes sure they complete correctly and recovers when they don't.
Select any text in the lesson to ask a question. Press Esc to close.