Skip to content
Blogs
Temporal logo

Temporal

Engineering blog · temporal.io/blog

149posts0this week0watchers

Feature trails

32
Feature trailActive

Durable Execution

Temporal Workflows provide a durable orchestration layer for complex business processes and event-driven systems. This post demonstrates running the DOOM game engine as a Temporal Workflow, highlighting how its deterministic nature and event-sourced input structure (ticcmd_t) map directly to Temporal's durable execution model. By recording player inputs as Workflow Updates and using Queries for rendering, Temporal can replay game state from recorded inputs, enabling recovery from worker crashes. Continue-as-New is used to manage history size by snapshotting game state, and Reset allows rewinding to previous states. This showcases Temporal's ability to handle stateful, deterministic applications by recording inputs and replaying them, a principle applicable to payment pipelines and AI agents.

82 posts · 2020–2026

Timeline

20202026
Feature trailActive

Observability Platform

Temporal Cloud integrates with Parseable for enhanced observability, providing queryable lifecycle records and traces that show workflow execution details beyond simple completion status. This integration allows for detailed analysis of schedule-to-start latency, worker slot pressure, activity retries, workflow completion times, and task queue backlogs, enabling operators to move from fleet-level symptoms to individual execution investigations. The Parseable Temporal plugin captures workflow and activity lifecycle events, custom domain milestones, and SDK metrics, offering a comprehensive view of workflow health and performance.

3 posts · 2026

Timeline

Feature trailActive

Serverless Workers

Serverless Workers enable Temporal Workflows to run on serverless compute platforms like AWS Lambda and GCP Cloud Run, scaling automatically based on workload. This post details the integration process with AWS Lambda and Amazon Bedrock AgentCore Runtime, focusing on how Temporal invokes, scales, and gracefully shuts down Workers on behalf of the user. It highlights automatic state management for the Worker lifecycle, routing tasks through Temporal Activities, and leveraging AgentCore's scaling capabilities. The post also introduces the concept of Standalone Activities as a way to run durable background jobs without a full Workflow, and discusses the use of Serverless Workers for these jobs. It covers support for AWS Lambda, Google Cloud Run Worker Pools, and Amazon Bedrock AgentCore Runtime, with Lambda and Cloud Run in Public Preview and AgentCore Runtime in Pre-release as of October 2026.

2 posts · 2026

Timeline

Feature trailActive

Data Encryption and Decryption

Temporal Cloud offers centralized payload encryption via Temporal Proxy, allowing users to encrypt sensitive data before it reaches Temporal Cloud. This feature supports various KMS providers and uses envelope encryption. It can be configured per namespace and applied to application payloads, error messages, and stack traces, while Search Attributes remain unencrypted. The proxy acts as a mandatory connection point, reducing the risk of misconfigured or missed encryption.

1 post · 2026

Timeline

Feature trailActive

Temporal Nexus

Standalone Nexus Operations extends Temporal's durable service model to more applications and agents, allowing them to call Nexus services directly through the Temporal SDK. This enables reusable services with built-in durability and reliability for inter-service communication, even for existing applications and agents. The feature allows for fire-and-forget operations with guaranteed reliability, retries, and independent tracking of operations. It simplifies building and scaling services by providing a consistent contract and implementation across teams and applications.

3 posts · 2024–2026

Timeline

20242026
Feature trailActive

Core SDK Development

The Temporal Rust SDK has reached version 1.0.0, demonstrating its production readiness and portability by successfully running on an ESP32-S3 microcontroller. This achievement validates the SDK's ability to operate in resource-constrained environments and highlights the robustness of its core Durable Execution capabilities, including TLS authentication, task polling, and activity heartbeating. The project involved minimal, targeted compatibility patches for the ESP-IDF environment, showcasing the SDK's adaptability and the effectiveness of the Rust Core SDK's design. This success further solidifies the Rust SDK's role as a foundational component for Temporal's cross-language SDK strategy.

2 posts · 2021–2026

Timeline

20212026
Feature trailActive

Software Supply Chain Security Tooling

Camper, a system for running security campaigns, has been enhanced by migrating its core logic to Temporal Workflows. This provides durability, allowing campaigns to resume after restarts, retry failed API calls, and easily accept new instructions. Camper orchestrates security campaigns by integrating with tools like Jira, GitHub, and Deputy (for automated code transformations) or Codex (for AI-assisted code generation). Campaigns are defined by specifications outlining objectives, scope, and remediation strategies. The system supports manual approval workflows and allows for dynamic updates to campaign scope and targets. Review remains with repository maintainers, with Camper facilitating interactions like rebasing and retrying through GitHub commands. The system has successfully executed campaigns across Temporal repositories and has been used for cross-repository credential migrations.

1 post · 2026

Timeline

Feature trailActive

Standalone Activities

Standalone Activities are now Generally Available across Go, Python, Java, TypeScript, .NET, and Ruby SDKs. They provide a durable record of execution for background jobs, including retries, visibility, and control, eliminating the need for custom job systems. Features like Activity ID for uniqueness, Conflict and Reuse Policies, Heartbeating for long-running jobs, and Search Attributes for discoverability are supported. Start Delay allows scheduling jobs for later execution. Priority and Fairness mechanisms are available for sharing Worker capacity. Standalone Activities can be invoked independently or as part of a larger Temporal Workflow. Planned work includes direct support for Temporal Schedules, audit exports, Nexus integration, and enhanced manual completion.

3 posts · 2026

Timeline

Feature trailActive

Task Queue Priority and Fairness

Task Queue Priority and Fairness provide granular control over task execution order and resource distribution within Temporal. Priority allows assigning integer levels (1-5) to Workflows, Activities, and Child Workflows to ensure critical tasks are processed before lower-priority ones. Fairness uses 'Fairness Keys' and weighted round-robin to ensure equitable resource distribution among tenants or logical groups, preventing monopolization of workers. These features can be combined to support differentiated service tiers and guaranteed performance floors, and are available in Temporal Cloud and self-hosted deployments with specific configuration. Pricing for Fairness in Temporal Cloud is based on additional actions charged per hour a Namespace has the feature enabled.

3 posts · 2026

Timeline

Feature trailActive

ML Workflow Orchestration

Temporal is being used to orchestrate complex AI/ML processes, including end-to-end ML pipelines and data engineering flows. This includes managing state machines, handling retries and rollbacks, and coordinating tasks across different infrastructure, such as GPU servers. The platform's durable execution model ensures reliability and allows for faster iteration by developers. Julep AI leverages Temporal to build multi-step AI workflows, enabling AI agents to remember past interactions and execut. This post details how Temporal and Chainlit can be integrated to build a Durable RAG system that provides reliable, efficient, and scalable conversational AI, addressing challenges in workflow orchestration, scalability, reliability, and user interaction for RAG models.

9 posts · 2024–2026

Timeline

20242026
Feature trailActive

Cost Transparency and Billing API

Temporal Cloud offers enhanced cost transparency through a new Billing API and the Billable Action Count metric. The Billing API provides namespace- and tag-level cost attribution with hourly granularity. The Billable Action Count metric offers granular usage information for namespaces and workflow types. This post details the migration of the billing store to ClickHouse, improving headroom, reducing steady-state cost, and accelerating usage data delivery to customers. The migration involved validating metering pipeline accuracy by comparing direct Temporal Server queries with the emitted Billable Actions metric, enabling granular debugging of discrepancies by Workflow Type and Action Type. This improved confidence in the metering pipeline and streamlined troubleshooting.

1 post · 2026

Timeline

Feature trailActive

Activity Isolation for Security

Temporal Cloud offers a layered approach to data security, including TLS for data in transit and application-level encryption via Payload Codecs for data at rest. This ensures that the Temporal Service only sees encrypted data, with keys managed externally. The integration of Oso enhances AI agent security by providing native identity propagation and policy enforcement within the execution platform, ensuring that authorization controls hold up through failures and retries.

1 post · 2026

Timeline

Feature trailActive

Firmware Flashing System

Ignition, a Temporal-powered system for flashing firmware onto devices at scale, has been further refined. The system manages distributed workflows for individual device flashing, handles device re-enumeration and retries, and provides detailed state tracking for each device. The latest iteration focuses on robust handling of USB re-enumeration issues, improved carrier-based workflow boundaries, and detailed per-badge lifecycle management with granular failure reporting. The system demonstrated the ability to coordinate the manufacturing and distribution of 2,000 custom hardware badges for a conference, involving complex supply chain management, hardware development, and firmware deployment.

2 posts · 2026

Timeline

Feature trailActive

AI-Assisted Workflow Debugging

Temporal MCP server provides AI assistants with read-only access to Temporal Cloud and self-hosted clusters, enabling natural language querying of workflow status, history, and infrastructure. This facilitates debugging by correlating runtime state with code, improving cross-team troubleshooting. This post details the integration of the Temporal MCP server with AI editors, allowing engineers to query workflow status, history, and infrastructure using natural language directly within their development environment. Coinbase built their own read-only Temporal MCP server to integrate with their AI editor, enabling engineers to ask natural language questions about workflow failures and get answers directly in their IDE. The system uses FastMCP and exposes tools for workflow operations, schedule operations, and infrastructure inspection. It communicates over stdio using the MCP protocol and handles namespace resolution, auth, and payload decoding. The example demonstrates how a single question can trigger multiple tool calls to diagnose a workflow failure.

1 post · 2026

Timeline

Feature trailActive

Activity Timeouts and Timers

Temporal Workflows provide robust production controls for managing and intervening in running processes. This includes identifying stalled executions via Task Issues Detection, pausing Workflows to hold progress during investigations, and adjusting Activity execution parameters like timeouts and retry policies via Update Activity Options. Workflow Update Options allow overriding Worker Versioning for code changes, and Workflow Reset enables returning to earlier execution points. The Temporal CLI is unified for managing both executions and Cloud resources, and automated migration tooling facilitates moving self-hosted workloads to Temporal Cloud.

1 post · 2021–2026

Timeline

20212026
Feature trailActive

Workflow Streams

Workflow Streams provides a durable abstraction for real-time, interactive communication within Temporal applications. It enables applications to publish ordered sequences of typed events to topics scoped to a Workflow, allowing both the Workflow itself and external clients to publish and subscribe. This feature leverages Temporal's core primitives (Workflows, Signals, Updates, and Queries) to offer exactly-once semantics and seamless integration with AI agent frameworks and other streaming use cases. This post details the implementation using Signals for external publishing and Updates for subscriber polling, including handling batching, deduplication, and Continue-as-New transitions. Integrations with AI agent frameworks like OpenAI Agents SDK and Google ADK are also covered, along with a complete example demonstrating Server-Sent Events for UI updates.

1 post · 2026

Timeline

Feature trailActive

Actor Model Abstraction

Temporal Workflows can be used to model the Actor Model, enabling durable, stateful, and message-driven entities. This post details how Temporal's features like Signals, Updates, Queries, and Child Workflows map to the core tenets of the Actor Model (message passing, state maintenance, and actor creation). It highlights the use of Workflow Updates for request/response patterns and the combination of Signals and Queries for external client interactions. The ability to create child workflows is also leveraged. This post details building a telecommunications customer service chatbot that treats each conversation as a persistent workflow, enabling stateless applications, infinite scalability, and resilience to failures. The chatbot maintains perfect conversation context across any number of pod restarts, deployments, or scaling events. Conversations are managed by Temporal Workflows, with automatic lifecycle management that ends conversations after inactivity or explicit user farewell. The system generates summaries and satisfaction scores for retrieved conversations. The implementation uses Java and interacts with LLMs and external tools via Activities, passing the full conversation history for context. This approach offers simplified state management, infinite scalability, resilient workflows, maintainable design, rich context management, transparent state inspection, and robust error handling compared to traditional session-based implementations.

1 post · 2023–2026

Timeline

20232026
Feature trailActive

Failure Handling Patterns

Temporal Workflows are used for reliable email delivery at scale, handling large volumes with smart batching and resilient error handling. Event duplication involves a two-phase approach: an atomic, rollback-safe main workflow for core operations and a subsequent asynchronous workflow for background tasks like notifications and integrations. This has led to significant improvements in success rates, processing times, and reduced manual intervention. The Validate pattern has been introduced for robust error handling and rollback mechanisms in distributed systems, leveraging Temporal's durable execution to guarantee compensation logic runs even if workers crash. This post details the implementation of sagas with compensating transactions, emphasizing the importance of idempotency for retries and the use of timeouts as a first line of defense. It highlights how Temporal's durable execution simplifies complex, long-running processes and provides an effectively exactly-once guarantee for business processes.

11 posts · 2020–2026

Timeline

20202026
Feature trailActive

Worker Affinity

Worker Affinity with Task Queues allows ensuring that multiple Activities within a workflow execute on the same Worker. This is achieved by using a combination of shared and unique task queues. The workflow first discovers an available worker via a shared queue and then routes all subsequent activities to that worker's unique queue, maintaining data locality for scenarios like file processing, ML model caching, and database connection pooling. This post details how to route specialized workloads.

1 post · 2026

Timeline

Feature trailActive

Worker Versioning

Worker Versioning allows for safe deployment of new code changes to Workflows without breaking active executions. This includes concepts like Worker Deployments, Worker Deployment Versions, Build IDs, Pinned and Auto-upgrade Workflows, Current Versions, and ramping versions. The Temporal CLI provides commands for managing and rolling out updates, while the Worker Controller automates these processes in Kubernetes. The Worker Controller now supports autoscaling of Worker versions by allowing the use of new Worker Versioning APIs and a Deployments abstraction for pinning Workflows, ramping traffic, and testing new versions directly.

1 post · 2025–2026

Timeline

20252026
Feature trailActive

Serverless Workers for Cloud Run

Serverless Workers enable Temporal Workflows to run on serverless compute platforms like AWS Lambda and Google Cloud Run, scaling automatically based on workload. This post details the integration with Google Cloud Run Worker Pools, providing a custom, highly responsive, and efficient autoscaling algorithm that allows users to skip manual setup and tuning. Temporal Cloud now manages the autoscaling of Worker Pools based on key metrics indicating work queueing up, scaling down to zero when appropriate. This update focuses on leveraging Worker Pools and CREMA for enhanced autoscaling based on Temporal Task Queue backlog.

2 posts · 2026

Timeline

Feature trailCooling

High Availability and Disaster Recovery for Temporal Cloud

Temporal Cloud offers Multi-region Namespaces for high availability and disaster recovery, enabling active-standby setups with seamless failover during outages to meet a 99.99% SLA. This feature replicates workflows to a standby region, managed by Temporal Cloud without user configuration changes. Recent improvements focus on hardening the auto-failover mechanism to prevent dependencies on the source region and to trigger failovers earlier. Multi-region Replication is now Generally Available (GA).

3 posts · 2024–2025

Timeline

20242026
Feature trailCooling

Scheduled Actions

Temporal Cloud metering has been updated to reflect new features and ensure consistent billing. This includes changes to how Schedules, Workflow Updates, Child Workflows, and Local Activities are counted as actions. The goal is to align metering with the value consumed by customers and prevent suboptimal implementation decisions driven by cost management. These changes are designed to be net-neutral for most customers, with minor fluctuations expected for some. This post details how to use Temporal Workflows to orchestrate temporary rate limit increases on Namespaces, involving a parent Workflow to raise capacity, a child Workflow with an abandon policy to revert it, and Activities for these actions.

3 posts · 2023–2025

Timeline

20232026
Feature trailCooling

TypeScript SDK

The Temporal TypeScript SDK has reached version 1.0.0, marking its stable release. This SDK is built on a shared Rust Core SDK, enabling faster development of new SDKs and improved reliability across languages. Key features include a deterministic sandboxed workflow runtime using V8 isolates to enforce determinism and prevent unsafe JavaScript, and a public API that has evolved to a simpler function-based approach for defining workflows. Future plans include safer APIs, improved developer tools. This post details how to use the SDK to build resilient applications, including examples of workflow definition, worker failover, error handling with retries and non-retryable errors, and signal integration with timeouts.

2 posts · 2021–2025

Timeline

20212026
Feature trailCooling

Workflow Updates

Workflow Updates provide a new mechanism for clients to send messages to Workflows, wait for their completion, and receive a result or error. This addresses limitations of existing Query and Signal messages by allowing the handler to perform arbitrary work, execute Activities and Child Workflows, and mutate Workflow state, while also returning a result. This enables lower-latency use cases and more efficient communication patterns compared to Signal+Query polling. Updates can also include validators to reject invalid updates early, leaving no trace in history. The feature is now Generally Available and has been integrated into various design patterns for state mutation, activity execution, and conditional waiting.

1 post · 2025

Timeline

20252026
Feature trailCooling

Game Development with Temporal

Temporal Workflows are used to build and orchestrate complex applications, including multiplayer games. This post details the development of a trivia game, showcasing how Workflows can manage game state, player interactions, and integrate with external services like ChatGPT for question generation. The game evolved through multiple versions, demonstrating iterative development and the application of Temporal's durable execution, signals, queries, and timers. Polyglot development was also highlighted. Layer.ai uses Temporal to streamline AI-driven workflows for scalable game asset production, offloading heavy tasks like asset generation and file processing to prevent server bottlenecks and improve user experience. Temporal's built-in retries and observability provide better control over task execution, reducing failures and ensuring reliability. The 'FileUploadWorkflow' example demonstrates handling retries, timeouts, and checks for file upload and processing.

1 post · 2023–2024

Timeline

20232026
Feature trailCooling

ROI Analysis of Temporal Cloud Migration

Temporal Cloud offers a compelling ROI for organizations migrating from self-hosted solutions or complex homegrown systems. This thread tracks the economic and strategic benefits, including cost savings, developer productivity gains, and faster time-to-market. It highlights how Temporal Cloud can replace legacy systems, improve reliability, and reduce infrastructure and staffing costs, making it a preferred choice for various industries. Recent updates focus on detailed cost attribution and migration tooling, with ZoomInfo reporting significant cost savings and operational efficiency gains by migrating from a self-hosted solution to Temporal Cloud for their dynamic audience management and AI-powered account summary features, handling hundreds of millions of operations monthly with reduced debugging and faster development cycles.

2 posts · 2024

Timeline

20242026
Feature trailQuiet since 2024

Temporal Cloud Persistence Layer

Temporal Cloud offers a multi-cloud platform, expanding its infrastructure from AWS to Google Cloud. This expansion involved leveraging Temporal's own capabilities for cloud-agnostic workflows, addressing challenges in containerization, orchestration, and infrastructure-as-code across different cloud providers. The migration involved adapting to provider-specific APIs and resource models, and finding solutions for services like the visibility layer where direct compatibility was lacking. The use of a custom persistence layer with efficient sharding, WAL, and tiered data storage has been shown to significantly reduce application-side latency compared to self-hosted instances, even when accounting for increased network latency.

3 posts · 2021–2024

Timeline

20212026
Feature trailQuiet since 2024

Eager Workflow Start

Eager Workflow Start (EWS) is an experimental optimization that reduces the time to start a workflow by allowing the starter and worker to interact directly, bypassing some server operations. The start response with EWS includes the initial workflow task when there is a local worker ready to process it. This is particularly useful for short-lived workflows that interact with other services using local activities and are deployed close to the Temporal Server. The current implementation has limitations, requiring the worker and starter to share a client connection and run in the same process. It does not yet support worker versioning with build IDs. EWS is enabled via a dynamic configuration flag and is available in Temporal Cloud via a support ticket.

1 post · 2024

Timeline

20242026
Feature trailQuiet since 2023

Authentication and Authorization Layer

Temporal Cloud's authentication and authorization layer has been enhanced with Just-In-Time (JIT) access provisioning for infrastructure, time-boxed access, and reduced blast radius. This includes implementing access hours, reducing the percentage of time engineers have access to infrastructure, and further reducing it based on specific needs. Mutual TLS anchored to customer CAs, SAML SSO, API keys, RBAC, and private connectivity options (AWS PrivateLink, Google Cloud Private Service Connect) are supported. This post details configuring JWT authentication for self-hosted Temporal using Keycloak, covering both programmatic clients (Client Credentials Flow) and human users (Authorization Code Flow with PKCE), and mapping user/client roles to Temporal's permission claims.

3 posts · 2020–2023

Timeline

20202026
Feature trailQuiet since 2023

Temporal CLI

The Temporal CLI has been unified into a single `temporal` command-line tool, combining the functionality of `tctl` and `temporalite`. This new CLI simplifies development and testing by allowing users to run a local development server with persistent SQLite storage, exposing key endpoints (gRPC and Web UI), and offering basic workflow status visibility. It supports core Temporal functionality, including Advanced Visibility and a next-generation tctl experience. The goal is to provide a single, easily installable package for all Temporal tooling.

1 post · 2023

Timeline

20232026
Feature trailQuiet since 2022

End-to-End Argument in System Design

This feature thread tracks the application of the End-to-End Argument principle in system design, guiding the placement of functionality between application and platform layers. It emphasizes that while platform layers can offer optimizations, complete and correct implementation of certain functions, particularly those involving failure detection and mitigation, often requires the application layer's full context. The thread will document how this principle is applied in building robust and reliable distributed systems.

1 post · 2022

Timeline

20222026