Skip to content
Temporal

Inversion of Execution

Dec 1, 20218 min read
Opens temporal.io
What the post coversAI, from the source post

This post introduces and explains the core architectural concept of 'Inversion of Execution' in Temporal.

  • It details how the Temporal Server orchestrates workflow and activity tasks, which are then executed by client-side Workers.
  • This model is contrasted with traditional execution models where a server directly runs application code.
  • The post elaborates on the benefits of this approach, including enhanced reliability through deterministic replay of workflow tasks, improved security via zero-trust and encrypted payloads, and simplified scalability by separating server and worker concerns.
  • A bank transfer example illustrates the workflow and activity task execution flow.
Read the full post on temporal.io · 8 min (opens in a new tab)

More from the Durable Execution trail