Documentation ¶
Overview ¶
Package main provides a client used for benchmarking. Before running the client, the user would need to launch the grpc server.
To start the server before running the client, you can run look for the command under the following file:
benchmark/server/main.go
After starting the server, the client can be run. An example of how to run this command is:
go run benchmark/client/main.go -test_name=grpc_test
If the server is running on a different port than 50051, then use the port flag for the client to hit the server on the correct port. An example for how to run this command on a different port can be found here:
go run benchmark/client/main.go -test_name=grpc_test -port=8080
Click to show internal directories.
Click to hide internal directories.