Problem
Long-running processes (orders, onboarding, payments) need reliability: survive crashes, handle retries, support human-in-the-loop, provide visibility. Custom state machines are buggy and hard to maintain.
Also known as: temporal, durable-execution, workflow-engine, activity
Write reliable, long-running business logic as code that survives crashes, retries automatically, and provides full observability — without managing queues, state machines, or timers manually.
Long-running processes (orders, onboarding, payments) need reliability: survive crashes, handle retries, support human-in-the-loop, provide visibility. Custom state machines are buggy and hard to maintain.
Medium — Temporal cluster (3+ nodes) or Cloud
Medium — cluster ops, namespace management
High — deterministic programming, replay model
Non-deterministic workflow → replay divergence
Activity timeout misconfig → stuck workflows
Worker version mismatch → task failures
Namespace retention too short → history loss
Worker OOM → task queue backup