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

Remove stream concurrency limits #12598

Merged
merged 2 commits into from
May 15, 2024
Merged

Remove stream concurrency limits #12598

merged 2 commits into from
May 15, 2024

Conversation

mateiidavid
Copy link
Member

Our gRPC servers use the default gRPC server configuration, which
limits the number of concurrent streams to 100. Since the controllers
run with proxies, this provides a hard scaling limit for the number of
watches an application can have.

This change updates our gRPC server configuration to clear the default
concurrency limit, allowing the server to handle as many streams as
possible.

olix0r and others added 2 commits May 8, 2024 15:55
Our gRPC servers use the default gRPC server configuration, which
limits the number of concurrent streams to 100. Since the controllers
run with proxies, this provides a hard scaling limit for the number of
watches an application can have.

This change updates our gRPC server configuration to clear the default
concurrency limit, allowing the server to handle as many streams as
possible.
By default, Go gRPC servers are configured with
`max_concurrent_streams=100`. The server option can potentially be a
bottleneck, in particular for the destination service, when more than
100 streams are initiated concurrently by clients.

This change removes the bound by setting the option to 0 explicitly.

Signed-off-by: Matei David <matei@buoyant.io>
@mateiidavid mateiidavid requested a review from a team as a code owner May 15, 2024 16:48
@mateiidavid mateiidavid merged commit 407df01 into main May 15, 2024
38 checks passed
@mateiidavid mateiidavid deleted the matei/concurrent-streams branch May 15, 2024 17:07
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.

None yet

2 participants