A csharp sandbox for GRPC.
-
Start the server
$ dotnet Server/bin/Debug/netcoreapp2.1/Server.dll run --listen 0.0.0.0:50051 Press CTRL+C to cancel.
-
Stream 1GiB random bytes in chunks of 1MiB from the server to the client:
$ dotnet Client/bin/Debug/netcoreapp2.1/Client.dll stream-bytes --chunk-size 1000000 --total-chunks 1000 Press CTRL+C to cancel. Connecting to grpc host localhost:50051 .. Connection established to grpc host localhost:50051 Transferred 1000000000 bytes in 1654,2158ms (576,098536183794 MBytes/second)