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

rpc: set max-concurrent streams to math.MaxInt32 #14785

Merged

Conversation

petermattis
Copy link
Collaborator

The max-concurrent streams setting affects how many concurrent
streams/unary-RPCs are allowed on the server and this setting is
propagated across to the client connection. The default client
connection max-streams setting is 100 which seems unreasonably low and
may be contributing to high latencies.

Fixes #14769

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@petermattis petermattis requested review from bdarnell and tamird April 11, 2017 13:36
// server value so that we have no fixed limit on the number of concurrent
// streams/requests on either the client or server.
//
// TODO(peter): This setting should be revisited.
Copy link
Contributor

Choose a reason for hiding this comment

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

it'd be helpful to elaborate on this - when? why? with what additional evidence?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed the TODO. I'm going to see if there is an issue about limits at the SQL level.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@petermattis petermattis force-pushed the pmattis/max-concurrent-streams branch from 5993e0d to c9c17cd Compare April 11, 2017 13:53
The max-concurrent streams setting affects how many concurrent
streams/unary-RPCs are allowed on the server and this setting is
propagated across to the client connection. The default client
connection max-streams setting is 100 which seems unreasonably low and
may be contributing to high latencies.

Fixes cockroachdb#14769
@petermattis petermattis force-pushed the pmattis/max-concurrent-streams branch from c9c17cd to 636448d Compare April 11, 2017 13:54
@petermattis petermattis merged commit 5b794ce into cockroachdb:master Apr 11, 2017
@petermattis petermattis deleted the pmattis/max-concurrent-streams branch April 11, 2017 16:29
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.

3 participants