Check out the QPS Driver code:
https://github.com/grpc/grpc/tree/master/test/cpp/qps

make qps_json_driver

Then you can run different scenarios by invoking bins/opt/qps_json_driver
--scenarios_json <scenario>

A scenario that might work well for you would be:

 '{"scenarios":[{"spawn_local_worker_count":-6,"name":"generated",
"warmup_seconds": 30, "benchmark_seconds": 120, "num_servers": 1,
"server_config": {"async_server_threads": 31, "security_params": null,
"server_type": "ASYNC_SERVER"}, "num_clients": 5, "client_config":
{"client_type": "ASYNC_CLIENT", "security_params": null, "payload_config":
{"simple_params": {"resp_size": 1024, "req_size": 1024}},
"client_channels": 31, "async_client_threads": 31,
"outstanding_rpcs_per_channel": 100, "rpc_type": "UNARY", "load_params":
{"closed_loop": {}}, "histogram_params": {"max_possible": 60000000000.0,
"resolution": 0.01}}}]}'

That involves 5 clients being served by a single server. But you can play
around with all of the above knobs

On Tue, Jul 25, 2017 at 11:52 AM, Rajarshi Biswas <
[email protected]> wrote:

> Hi,
>
> I am trying to evaluate gRPC performance in a cluster. Is there any
> benchmarks available that I can use to measure throughput when multiple
> clients are served by a single server?
>
> Thank you
>
> Rajarshi
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/15687115-7c5f-483d-96d6-5c215a419332%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/15687115-7c5f-483d-96d6-5c215a419332%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAPYwnkjOgVr39Un9VTR0Qbprk_edXMyyyZSeWnk4ds0NG4F8Fw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to