Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic config for sdk worker options #3806

Merged
merged 14 commits into from
Jan 25, 2023
Merged

Add dynamic config for sdk worker options #3806

merged 14 commits into from
Jan 25, 2023

Conversation

dnr
Copy link
Member

@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 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