Skip to content

Commit 628cb01

Browse files
stephanosclaude
andcommitted
Replace failover sequence diagram with cluster/namespace topology
Show both the caller and handler Namespaces replicated across both Clusters, active/standby per Namespace, and the cross-Cluster completion callback. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 030e6e3 commit 628cb01

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

docs/production-deployment/self-hosted-guide/temporal-nexus.mdx

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,26 @@ target an external URL (`--target-url`), which is experimental and not covered h
134134

135135
### What to expect on failover
136136

137+
Each Namespace is replicated across Clusters, and the active Cluster is set per
138+
Namespace. When the caller and handler Namespaces are active on different Clusters,
139+
the completion callback crosses Clusters:
140+
137141
```mermaid
138-
%%{init: {'sequence': {'mirrorActors': false}}}%%
139-
sequenceDiagram
140-
participant C as Caller Namespace
141-
participant A as Cluster A
142-
participant B as Cluster B
143-
C->>A: start async Nexus Operation
144-
A-->>C: Operation started, token returned
145-
Note over A,B: Namespace state continuously<br/>replicates A → B
146-
B->>C: completion delivered on the caller's active Cluster
147-
Note over C: Nexus Operation completes
142+
flowchart LR
143+
subgraph A["Cluster A"]
144+
direction TB
145+
caA["Caller Namespace<br/>active"]
146+
haA["Handler Namespace<br/>standby"]
147+
end
148+
subgraph B["Cluster B"]
149+
direction TB
150+
caB["Caller Namespace<br/>standby"]
151+
haB["Handler Namespace<br/>active"]
152+
end
153+
caA -. replicated .- caB
154+
haA -. replicated .- haB
155+
caA ==>|Nexus Operation| haB
156+
haB ==>|completion callback| caA
148157
```
149158

150159
- **Callbacks are delivered internally** to the caller Namespace's active Cluster,

0 commit comments

Comments
 (0)