mirror of https://github.com/grpc/grpc-java.git
bd81a58c42
The QpsClient no longer executes a fixed number of RPCs but runs for a period of time now (see #83). After some discussion with @ejona86, we also agreed to remove the "server_threads" parameter and to no longer use a `DirectExecutor` and thus run the QPS Server without any tweaks and modifications. We believe/hope that this change will make the comparison between the C++ and Java versions less "Apples and Oranges". The "client_threads" parameter was renamed to "concurrent_calls" to better reflect what it acutally does. Furthermore, I updated the gradle build script to create separate executables for the client and the server. I also added a README. |
||
---|---|---|
.. | ||
src/main | ||
README.md | ||
build.gradle |
README.md
grpc Benchmarks
QPS Benchmark
The "Queries Per Second Benchmark" allows you to get a quick overview of the throughput and latency characteristics of grpc.
To build the benchmark type
$ ./gradlew :grpc-benchmarks:installApp
from the grpc-java directory.
You can now find the client and the server executables in benchmarks/build/install/grpc-benchmarks/bin
.
The C++
counterpart can be found at https://github.com/grpc/grpc/tree/master/test/cpp/qps