What is a Temporal Activity? | Temporal Documentation
In day-to-day conversation, the term Activity denotes an Activity Definition, Activity Type, or Activity Execution. Temporal documentation aims to be explicit and differentiate between them. An Activity is a normal function or method that executes a single, well-defined action (either short or long running), such as calling another service, transcoding a media file, or sending an email message. Activity code can be non-deterministic. We recommend that it be idempotent. Workflow code orchestrates the execution of Activities, persisting the results. If an Activity Function Execution fails, any future execution starts from initial state (except Heartbeats). Activity Functions are executed by Worker Processes. When the Activity Function returns, the Worker sends the results back to the Temporal Service as part of the ActivityTaskCompleted Event. The Event is added to the Workflow Execution's Event History. For other Activity-related Events, see Activity Events. An Activity Definition is th
This guide provides a comprehensive overview of Temporal Activities including Activity Definition , Activity Type , Activity Execution , Local Activity , and Standalone Activity . An Activity is a normal function or method that executes a single, well-defined action (either short or long running), such as calling another service, transcoding a media file, or sending an email message. Activity code can be non-deterministic. We recommend that it be idempotent . Activities are the most common Temporal primitive and encompass small units of work such as: Single write operations, like updating user
Explore this link on the map →related reading
- What is a Temporal Activity? | Temporal Platform Documentationdocs.temporal.io
- Temporal Workflow | Temporal Platform Documentationdocs.temporal.io
- Local Activity vs Activity - #3 by maxim - Community Support - Temporal Community Forumcommunity.temporal.io
- Local Activity vs Activity - #3 by maxim - Community Support - Temporal Community Forumcommunity.temporal.io
- Temporal Primer - Building Long-Running Systemsarpitbhayani.me
- About Temporal SDKs | Temporal Platform Documentationdocs.temporal.io
- Java SDK developer guide | Temporal Platform Documentationdocs.temporal.io
- Spooky Stories: Chilling Temporal anti-patterns (part 1) | Temporaltemporal.io
- Durable Execution Solutions | Temporaltemporal.io
- Multi-layered calendars << julian.digitaljulian.digital
- What is idempotency? And why it matters for durable systems | Temporaltemporal.io
- temporal/docs/architecture/history-service.md at main · temporalio/temporal · GitHubgithub.com