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

Respect dispatch concurrency limits for clusterdispatch #1676

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

sashayakovtseva
Copy link
Contributor

Fixes #1641

@sashayakovtseva sashayakovtseva requested a review from a team December 2, 2023 18:49
@github-actions github-actions bot added the area/CLI Affects the command line label Dec 2, 2023
Copy link

github-actions bot commented Dec 2, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@sashayakovtseva
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@jzelinskie jzelinskie added kind/bug Something is broken or regressed area/dispatch Affects dispatching of requests labels Dec 8, 2023
@jzelinskie
Copy link
Member

I believe @vroldanbet might have discovered an issue with this approach. I'll let him chime in whenever he's available (it is the holiday season).

Signed-off-by: sashayakovtseva <sashayakovtseva@gmail.com>
@github-actions github-actions bot removed the area/dispatch Affects dispatching of requests label Jan 17, 2024
@sashayakovtseva
Copy link
Contributor Author

Hello,

any news here? what issue have you discovered?

Copy link
Contributor

@vroldanbet vroldanbet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sashayakovtseva, my apologies for not getting back to this earlier.

There isn't so much of an issue but a concern around the impact of this change. While the unbounded dispatch configuration is not great for the health of the cluster, it does as well fundamentally change the baseline throughput of existing clusters, which may see a regression when this change is deployed in a non-trivial way, until they figure out that this change caps the dispatch concurrency.

I don't have an alternative, to be honest, other than rolling this out and observing the actual impact in practice, and tuning accordingly when required.

@vroldanbet vroldanbet added this pull request to the merge queue Jan 22, 2024
@sashayakovtseva
Copy link
Contributor Author

While the unbounded dispatch configuration is not great for the health of the cluster, it does as well fundamentally change the baseline throughput of existing clusters

I should mention that currently dispatch is bounded with the default value of 50. So unless one doesn't explicitly set dispatch limit < 50 no regression should be observed

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2024
@vroldanbet vroldanbet added this pull request to the merge queue Jan 22, 2024
Merged via the queue into authzed:main with commit bdcc2a6 Jan 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
@sashayakovtseva sashayakovtseva deleted the fix/concurrency-limit branch February 5, 2024 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line kind/bug Something is broken or regressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Respect concurrency limit settings for cluster dispatch
3 participants