aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/proto/benchmarks/services.proto
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-11-20 14:58:04 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-11-20 14:58:04 -0800
commited67356bd06024a40cb3f8b5ffd577dd88219453 (patch)
treef30a68dd3d1ab48cc36e1b0f1c5100bb6fd0096d /test/proto/benchmarks/services.proto
parent201d6e13045d96a451ab8cd69395ef1c1ed8adcc (diff)
improve comments on benchmark protos
Diffstat (limited to 'test/proto/benchmarks/services.proto')
-rw-r--r--test/proto/benchmarks/services.proto14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/proto/benchmarks/services.proto b/test/proto/benchmarks/services.proto
index 4c2cbabdf8..ff295ed970 100644
--- a/test/proto/benchmarks/services.proto
+++ b/test/proto/benchmarks/services.proto
@@ -47,9 +47,19 @@ service BenchmarkService {
}
service WorkerService {
- // Start server with specified workload
+ // Start server with specified workload.
+ // First request sent specifies the ServerConfig followed by ServerStatus
+ // response. After that, a "Mark" can be sent anytime to request the latest
+ // stats. Closing the stream will initiate shutdown of the test server
+ // and once the shutdown has finished, the OK status is sent to terminate
+ // this RPC.
rpc RunServer(stream ServerArgs) returns (stream ServerStatus);
- // Start client with specified workload
+ // Start client with specified workload.
+ // First request sent specifies the ClientConfig followed by ClientStatus
+ // response. After that, a "Mark" can be sent anytime to request the latest
+ // stats. Closing the stream will initiate shutdown of the test client
+ // and once the shutdown has finished, the OK status is sent to terminate
+ // this RPC.
rpc RunClient(stream ClientArgs) returns (stream ClientStatus);
}