Skip to content

Commit 4d1a639

Browse files
authored
Merge branch 'main' into php-quick-start
2 parents a012cee + 9b83543 commit 4d1a639

File tree

11 files changed

+55
-37
lines changed

11 files changed

+55
-37
lines changed

docs/cloud/nexus/limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Nexus has operational limits for thing like the maximum number of Nexus Endpoint
3939

4040
### Max Nexus Endpoints
4141

42-
By default, each account is provisioned with a max of 10 Nexus Endpoints.
43-
You can request further increases beyond the initial 10 Endpoint limit by opening a support ticket.
42+
By default, each account is provisioned with a max of 100 Nexus Endpoints.
43+
You can request further increases beyond the initial 100 Endpoint limit by opening a support ticket.
4444

4545
### Workflow Max Nexus Operations
4646

docs/develop/python/python-sdk-sync-vs-async.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ such as `aiohttp` or `httpx`. Otherwise, use a synchronous Activity.
6969

7070
## Python SDK Worker Execution Architecture
7171

72-
Python workers have following components for executing code:
72+
Python workers have the following components for executing code:
7373

7474
- Your event loop, which runs Tasks from async Activities **plus the rest of the Temporal Worker, such as communicating with the server**.
7575
- An executor for executing Activity Tasks from synchronous Activities. A thread pool executor is recommended.

docs/develop/python/set-up.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ Create a Worker file (worker.py):
210210
import asyncio
211211
from temporalio.client import Client
212212
from temporalio.worker import Worker
213+
from temporalio import workflow
213214

214215
with workflow.unsafe.imports_passed_through():
215216
from workflows import SayHelloWorkflow

docs/develop/python/temporal-client.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ overrides the option set in the configuration file.
291291

292292
:::
293293

294-
For example, the following TOML configuration file defines a `staing` profile with the necessary connection options to
294+
For example, the following TOML configuration file defines a `staging` profile with the necessary connection options to
295295
connect to Temporal Cloud via an API key:
296296

297297
For example, the following TOML configuration file defines a `staging` profile with the necessary connection options to

docs/develop/ruby/temporal-client.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ overrides the option set in the configuration file.
253253

254254
:::
255255

256-
For example, the following TOML configuration file defines a `staing` profile with the necessary connection options to
256+
For example, the following TOML configuration file defines a `staging` profile with the necessary connection options to
257257
connect to Temporal Cloud via an API key:
258258

259259
For example, the following TOML configuration file defines a `staging` profile with the necessary connection options to

docs/encyclopedia/nexus-operations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Nexus Machinery on both sides handles the cross-namepace communication.
161161

162162
For example, when you execute a Nexus Operation in a caller Workflow the following Namespace gRPC calls are made:
163163

164-
1. **RespondWorkflowTaskCompleted ([ScheduleNexusOperation command](/references/commands#schedulenexusoperation)) is used by the caller Worker to schedule a Nexus Operation, which atomically hands off execution to the caller's Nexus Machinery.
164+
1. **RespondWorkflowTaskCompleted** ([ScheduleNexusOperation command](/references/commands#schedulenexusoperation)) is used by the caller Worker to schedule a Nexus Operation, which atomically hands off execution to the caller's Nexus Machinery.
165165
1. **PollNexusTaskQueue** is used by the handler Worker to receive a [Nexus Task](/tasks#nexus-task) to process, for example to start a Nexus Operation.
166166
1. **RespondNexusTaskCompleted** or **RespondNexusTaskFailed** is used by the handler Worker to return the Nexus Task result.
167167
When asked to start a Nexus Operation, the Nexus handler decides if the Operation will be synchronous or asynchronous.
Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
22
id: workflow-overview
33
title: Temporal Workflow
4-
sidebar_label: Workflow
5-
description: This comprehensive guide provides insights into Temporal Workflows, covering Workflow Definitions in various programming languages, deterministic constraints, handling code changes, and ensuring reliability, durability, and scalability in a Temporal Application, with examples and best practices for Workflow Versioning and development.
4+
sidebar_label: Workflow
5+
description:
6+
This comprehensive guide provides insights into Temporal Workflows, covering Workflow Definitions in various
7+
programming languages, deterministic constraints, handling code changes, and ensuring reliability, durability, and
8+
scalability in a Temporal Application, with examples and best practices for Workflow Versioning and development.
69
slug: /workflows
710
toc_max_heading_level: 4
811
keywords:
9-
- workflow
12+
- workflow
1013
tags:
1114
- Concepts
1215
- Workflows
13-
1416
---
1517

1618
This guide provides a comprehensive overview of Temporal Workflows and covers the following:
@@ -23,25 +25,29 @@ This guide provides a comprehensive overview of Temporal Workflows and covers th
2325

2426
## Intro to Workflows
2527

26-
Conceptually, a workflow defines a sequence of steps.
27-
With Temporal, those steps are defined by writing code, known as a Workflow Definition, and are carried out by running that code, which results in a Workflow Execution.
28+
Conceptually, a workflow defines a sequence of steps. With Temporal, those steps are defined by writing code, known as a
29+
Workflow Definition, and are carried out by running that code, which results in a Workflow Execution.
2830

29-
In day-to-day conversations, the term Workflow might refer to Workflow Type, a Workflow Definition, or a Workflow Execution.
31+
In day-to-day conversations, the term Workflow might refer to Workflow Type, a Workflow Definition, or a Workflow
32+
Execution.
3033

3134
1. A **Workflow Definition** is the code that defines your Workflow.
32-
2. The **Workflow Type** is the name that maps to a Workflow Definition.
33-
It's an identifier that makes it possible to distinguish one type of Workflow (such as order processing) from another (such as customer onboarding).
34-
3. A **Workflow Execution** is a running Workflow, which is created by combining a Workflow Definition with a request to execute it.
35-
You can execute a Workflow Definition any number of times, potentially providing different input each time (i.e., a Workflow Definition for order processing might process order #123 in one execution and order #567 in another execution).
36-
It is the actual instance of the Workflow Definition running in the Temporal Platform.
37-
38-
You'll develop those Workflows by writing code in a general-purpose programming language such as Go, Java, TypeScript, or Python.
39-
The code you write is the same code that will be executed at runtime, so you can use your favorite tools and libraries to develop Temporal Workflows.
40-
41-
Temporal Workflows are resilient.
42-
They can run—and keeping running—for years, even if the underlying infrastructure fails.
43-
If the application itself crashes, Temporal will automatically recreate its pre-failure state so it can continue right where it left off.
44-
45-
Each Workflow Execution progresses through a series of **Commands** and **Events**, which are recorded in an **Event History**.
35+
2. The **Workflow Type** is the name that maps to a Workflow Definition. It's an identifier that makes it possible to
36+
distinguish one type of Workflow (such as order processing) from another (such as customer onboarding).
37+
3. A **Workflow Execution** is a running Workflow, which is created by combining a Workflow Definition with a request to
38+
execute it. You can execute a Workflow Definition any number of times, potentially providing different input each
39+
time (i.e., a Workflow Definition for order processing might process order #123 in one execution and order #567 in
40+
another execution). It is the actual instance of the Workflow Definition running in the Temporal Platform.
41+
42+
You'll develop those Workflows by writing code in a general-purpose programming language such as Go, Java, TypeScript,
43+
or Python. The code you write is the same code that will be executed at runtime, so you can use your favorite tools and
44+
libraries to develop Temporal Workflows.
45+
46+
Temporal Workflows are resilient. They can run—and keep running—for years, even if the underlying infrastructure fails.
47+
If the application itself crashes, Temporal will automatically recreate its pre-failure state so it can continue right
48+
where it left off.
49+
50+
Each Workflow Execution progresses through a series of **Commands** and **Events**, which are recorded in an **Event
51+
History**.
4652

4753
Workflows must follow deterministic constraints to ensure consistent replay behavior.

docs/evaluate/temporal-cloud/limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ For more information on custom Search Attributes see [Custom Search Attributes l
185185

186186
### Nexus Endpoints limits
187187

188-
By default, each account is provisioned with 10 Nexus Endpoints.
189-
You can request further increases beyond the initial 10 Endpoint limit by [opening a support ticket](/cloud/support#support-ticket).
188+
By default, each account is provisioned with 100 Nexus Endpoints.
189+
You can request further increases beyond the initial 100 Endpoint limit by [opening a support ticket](/cloud/support#support-ticket).
190190

191191
## Programming model level
192192

docs/evaluate/temporal-cloud/service-availability.mdx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,27 @@ Please contact your AE or Support to enable this feature.
4040

4141
Temporal Cloud has a p99 latency SLO of 200ms per region.
4242

43-
In March 2024, latency over a week-long period for starting and signaling Workflow Executions was as follows:
43+
The same SLO for normal Worker requests (commands and polling) apply to Nexus in both the caller and handler Namespaces.
44+
45+
### Historical latency data
46+
47+
Latency over a week-long period for starting and signaling Workflow Executions was as follows:
48+
49+
#### January 2026
50+
51+
| Operation | p50 | p90 | p99 |
52+
| :--------------------------------- | :----: | :--: | ---: |
53+
| `StartWorkflowExecution` | 14ms | 21ms | 69ms |
54+
| `SignalWorkflowExecution` | 11ms | 19ms | 46ms |
55+
| `SignalWithStartWorkflowExecution` | 19ms | 37ms | 95ms |
56+
57+
#### March 2024
4458

4559
| Operation | p90 | p99 |
4660
| :--------------------------------- | :--: | ---: |
4761
| `StartWorkflowExecution` | 24ms | 54ms |
4862
| `SignalWorkflowExecution` | 14ms | 40ms |
4963
| `SignalWithStartWorkflowExecution` | 24ms | 61ms |
5064

51-
As Temporal continues working on improving latencies, these numbers will progressively decrease.
52-
53-
The same SLO for normal Worker requests (commands and polling) apply to Nexus in both the caller and handler Namespaces.
54-
5565
Latency observed from the Temporal Client is influenced by other system components like the Codec Server, egress proxy, and the network itself.
5666
Also, concurrent operations on the same Workflow Execution may result in higher latency.

docs/evaluate/temporal-cloud/support.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Temporal Cloud includes the right level of technical support and guidance, servi
2222
Our team has extensive knowledge of Temporal, and a broad set of skills to help you succeed with any project.
2323

2424
Temporal Cloud provides several levels of support, from assisting with for break/fix scenarios to issues and services to helping with onboarding, design/code reviews for your application, and pre-production optimizations and operational readiness.
25-
note
2625

2726
:::note
2827

0 commit comments

Comments
 (0)