# Inversion of Execution

DevFeed: [Inversion of Execution](<https://devfeed.tech/articles/inversion-of-execution-35976.md>)

Original publisher: [Read original article](<https://temporal.io/blog/sergey-inversion-of-execution>)

Author: Sergey Bykov

Published: 2021-12-01T07:00:00Z

Content type: article

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [reliability](<https://devfeed.tech/topics/reliability.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intermittent-failures](<https://devfeed.tech/tags/intermittent-failures.md>), [processes](<https://devfeed.tech/tags/processes.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

This article explains Temporal's "Inversion of Execution" model. Temporal orchestrates workflow execution by injecting workflow and activity tasks into application code, while application logic runs on client-side worker processes rather than on the Temporal Server. Persistent queues support reliability and scalability, and the server uses a database to persist state.

## Source excerpt

If you think that this looks like a task queuing system, I wouldn't say you are wrong. Temporal can be viewed as a specialized queue of execution.