-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Performance benchmark, profiling and optimization #89
Comments
I did some initial benchmarking of a gRPC service here, including profiling: https://gist.github.com/codahale/b3db28bfa3f7dd59d048. It’s slower than |
Thanks for benchmarking this. Per my reply to #108, this is because we have not done any batching IO so far, which is the focus of performance optimization in the next a couple of months. It would be highly appreciated if you can have a pull request to wrap up what you have done to kick off the benchmark work on github. |
It’s not much, but the code’s here: https://github.com/codahale/grpc-example. I just spun that up on two m3.2xls. |
okay, I am going to try to push out a basic benchmark framework this week and then all the contributors can experiment various performance optimization ideas on the same ground. |
I made some improvement on client (not checked in yet) and got the significant improvement already: http client: improved grpc client: I am going to |
@iamqizhao can we close this issue, given that we have such a framework in place |
We can start with a microbenchmark. But eventually we need a benchmark running as different processes.
The text was updated successfully, but these errors were encountered: