Inversion of Execution
Dec 1, 20218 min read
Opens temporal.ioWhat the post covers
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.




