Lattice
Skip to content
06

Workflow Orchestration

10 tools

Survives the retries, the waits and the crashes.

  • Temporalplatform

    Durable execution engine that survives crashes and long waits.

  • Inngestplatform

    Event-driven step functions with durable replay for TypeScript.

  • Trigger.devplatform

    Background jobs and AI workflows with long-running task support.

  • Dagsterplatform

    Asset-oriented orchestration for data and ML pipelines.

  • Prefectplatform

    Python-native workflow orchestration with a managed cloud option.

  • Scheduler and DAG engine long used for batch data engineering.

  • Restateplatform

    Durable execution with a low-latency stateful API surface.

  • DBOSlibrary

    Durable workflows as ordinary Python functions and decorators.

  • Fly Machinesplatform

    Hosting for stateful containers that fits durable agent workers.

  • Modalplatform

    Serverless GPU and container platform popular for batch inference.

By Layer boundaries and entries verifiedmethod

Also relevant here

These tools are indexed in another layer, but they also do workflow orchestration's job. Each carries its home layer's colour.

Rules of thumb

  • If a step can fail halfway, it will. Write every step so running it twice is safe.
  • Durable execution fixes crashes, not bad logic. Retries replay your bugs as faithfully as your successes.
  • Use a queue and a cron until you need waits, retries and visibility across hours. Then adopt an engine, not before.

Quick answers

What is durable execution?
Running a workflow so its progress is recorded after each step. If the process dies, the workflow resumes from the last completed step instead of starting over or silently stopping.
Do LLM pipelines need a workflow engine?
Long-running ones do: batch enrichment, multi-hour agents, anything waiting on humans or rate limits. Short request-response calls do not.
What makes a workflow step safe to retry?
Idempotency: the step produces the same effect whether it runs once or several times, usually by checking a key before writing or charging.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.