Heuristic Mode
Better Stack Nov 28, 2026 tutorial default-text

How Netflix Cut Crashes To Almost Zero (Temporal)

Summary

Temporal is a durable-execution platform that keeps multi-step workflows alive across crashes by persisting an event history and replaying deterministic code from the last completed step. The video breaks down workflows, activities, workers, retries, and replay tradeoffs, using a Doom demo to show how deterministic state reconstruction works. Engineers should care because it replaces ad hoc status tables and cron-based recovery for payments, provisioning, and other long-running operations.

Key takeaways

  • Put orchestration in deterministic workflow functions and isolate side effects such as card charges or emails in activities; Temporal records activity results in event history.
  • Workers run your application code and poll the Temporal server for tasks; the server stores history and schedules work but never executes your code.
  • Crash recovery works by replaying the workflow from the start, returning saved results for completed activities, then executing for real at the first unrecorded step.
  • Built-in retries with backoff and long waits remove much custom cron and queue plumbing; waiting workflows do not consume worker resources.
  • Replay imposes constraints: workflow code must be deterministic and history size is capped, so long-running workflows need patterns like continue-as-new; lighter Postgres-based alternatives also exist.

Key moments