Skip to content

Add Performance & Latency Patterns section (Local Activities, Early Return + Local Activities, Eager Workflow Start)#9

Open
joshmsmith wants to merge 1 commit into
temporal-sa:mainfrom
joshmsmith:low-latency-patterns
Open

Add Performance & Latency Patterns section (Local Activities, Early Return + Local Activities, Eager Workflow Start)#9
joshmsmith wants to merge 1 commit into
temporal-sa:mainfrom
joshmsmith:low-latency-patterns

Conversation

@joshmsmith

Copy link
Copy Markdown
Contributor

Adds a new "Performance & Latency Patterns" section with three complementary patterns for reducing Temporal workflow latency:

  • Local Activities — eliminates server round-trips (~50 ms per activity saved), all 4 languages
  • Early Return + Local Activities — combines Update-with-Start with local Phase 1 for ~160 ms first-response latency, all 4 languages
  • Eager Workflow Start — bypasses the Matching Service on workflow start (~30–50 ms saved), Go/Java/Python

Also fixes:

  • mapreduce-tree Java: correct newUntypedExternalWorkflowStub API call
  • sliding-window Java: remove unused HashSet import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant