Skip to content

Conversation

dnr
Copy link
Contributor

@dnr dnr commented Jan 12, 2023

What changed?

  • Add process-level dynamic config for sdk worker sticky cache size.
  • Remove direct calls to worker.New and use factory.
  • Collapse sdk client and worker factories to one, since they're always used together.
  • Add dynamic config for per-namespace workers.

Use like:

worker.perNamespaceWorkerOptions:
- value:
    MaxConcurrentWorkflowTaskPollers: 10
    WorkerLocalActivitiesPerSecond: 100

Why?
Allows more sdk worker tuning.

How did you test it?
not yet

Potential risks

Is hotfix candidate?

@dnr dnr requested a review from a team as a code owner January 12, 2023 23:13
@dnr dnr requested a review from Quinn-With-Two-Ns January 12, 2023 23:13
@dnr dnr merged commit 278f545 into temporalio:master Jan 25, 2023
@dnr dnr deleted the sched37 branch January 25, 2023 04:17
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.

3 participants