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

Reduce ingester gRPC max concurrent streams to 10,000 #355

Closed
wants to merge 1 commit into from

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Jul 7, 2021

What this PR does:
Reduce the limit which governs the number of server calls that gRPC will run in parallel. Beyond this limit, requests will queue in the caller.

While parallelism helps to improve throughput, it is unrealistic that 100,000 operations would be able to proceed at once, considering typical CPU core counts, locking, etc.

Even 10,000 is probably too high, but changing the limit by more than one order of magnitude also seemed rash.

Checklist

  • CHANGELOG.md updated

This limit governs the number of server calls that gRPC will run in
parallel. Beyond this limit, requests will queue in the caller.

While parallelism helps to improve throughput, it is unrealistic that
100,000 operations would be able to proceed at once, considering typical
CPU core counts, locking, etc.

Even 10,000 is probably too high, but changing the limit by more than
one order of magnitude also seemed rash.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@bboreham bboreham requested a review from a team as a code owner July 7, 2021 10:23
@bboreham bboreham marked this pull request as draft July 7, 2021 11:13
@bboreham
Copy link
Contributor Author

bboreham commented Jul 7, 2021

Don't merge yet - want to try it out first.

@bboreham bboreham changed the title Reduce gRPC max concurrent streams to 10,000 Reduce ingester gRPC max concurrent streams to 10,000 Jul 7, 2021
@bboreham
Copy link
Contributor Author

This change was incorporated in #369.

@bboreham bboreham closed this Aug 23, 2021
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