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

C# server performance improvements #6498

Merged
merged 7 commits into from
May 10, 2016

Conversation

jtattermusch
Copy link
Contributor

Based on #6462.

A bit of basic performance work.

-- avoid an extra thread switch when handling call on server.
-- fix C# qps worker to not allocate dedicated threads for async client (that has a huge impact - when we request creation of 64*100 dedicated threads in unconstrained scenario, the throughput drops 10x).
-- expose experimental api to set GrpcThreadPool size (and autocompute the default size based on number of cores)
-- remove an unnecessary locks

@jtattermusch jtattermusch force-pushed the csharp_server_improvements branch from 7be6541 to 1e1fa08 Compare May 9, 2016 22:42
@murgatroid99
Copy link
Member

LGTM

@jtattermusch
Copy link
Contributor Author

test flakes in C/C++ are unrelated.

@jtattermusch jtattermusch merged commit ade3a79 into grpc:master May 10, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants