Home / Companies / Temporal / Blog / Post Details
Content Deep Dive

Workflows as Actors: Is it really possible?

Blog post from Temporal

Post Details
Company
Date Published
Author
Fitz
Word Count
2,775
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Actor Model is a design pattern that assumes everything is an actor, capable of sending and receiving messages, creating new actors, and maintaining state. Temporal Workflows can be implemented as Actors by using Signals to send messages between them and utilizing the Update feature to return responses. Creating child workflows within a parent workflow allows for the creation of new actors. To build a Workflow that can practically run forever, it's essential to consider issues like Signal and Update loss, ensuring pending signals are handled before continuing as new, and implementing Continue-As-New to restart with a clean event history. Temporal Workflows can be designed to function as Actors by carefully managing message exchange, child workflows, and the use of Continue-As-New to maintain their state.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.