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 separate dynamic config knobs for internal-frontend rate limiting #3800

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

dnr
Copy link
Member

@dnr dnr commented Jan 11, 2023

What changed?
Add internal-frontend.globalNamespaceRPS and internal-frontend.globalNamespaceRPS.visibility to match the frontend versions of those configs, which divide their value among internal-frontend nodes.

Why?
"Global" namespace rps was divided among the number of "frontend" nodes, but for users using internal-frontend, that didn't make much sense, since the number of internal-frontend will likely be different from frontend, and the load will be different too.

Only the "global" versions were added, not "per-instance". If they are not set, internal-frontend will use the same per-instance configs as frontend (it will not fall back to the global frontend configs). To use a separate limit for internal-frontend, use the global versions.

How did you test it?
CI

Potential risks
This only applies to configurations using internal-frontend and shouldn't affect anyone else.

Is hotfix candidate?

@dnr dnr requested a review from a team as a code owner January 11, 2023 05:07
@dnr dnr merged commit daff5f1 into temporalio:master Jan 12, 2023
@dnr dnr deleted the feport3 branch January 12, 2023 00:53
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.

2 participants