Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

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 <[email protected]>
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants