You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm --network host --cpus 1 --name test --entrypoint bash -it d_grpc_test
./server
Perform a client request:
docker run --name ghz --rm --network=host -v "${PWD}"/proto:/proto:ro --entrypoint=ghz infoblox/ghz:0.0.1 --proto=/proto/helloworld/helloworld.proto --call=helloworld.Greeter.SayHello --insecure --duration 1s -d "{\"name\":\"it's not as performant as we expected\"}" 127.0.0.1:50051
Server crashes with this ouput:
2020-07-19 18:54:13 (21) [debug] parseNext - after parseLine =>[pos=16 lim=24 cap=24] - /root/.dub/packages/hunt-http-0.6.3/hunt-http/source/hunt/http/codec/http/decode/HttpParser.d:1325
2020-07-19 18:54:13 (21) [info] onPreface - server received preface: Http2Session@132645144323280{l:127.0.0.1:50051 <-> r:127.0.0.1:33236,sendWindow=65535,recvWindow=65535,streams=0,NOT_CLOSED} - grpc-dlang/source/grpc/GrpcServer.d:64
2020-07-19 18:54:13 (21) [info] onNewStream - server created new stream: 1 - grpc-dlang/source/grpc/GrpcServer.d:69
2020-07-19 18:54:13 (21) [info] onNewStream - server created new stream headers: POST{u=http://127.0.0.1:50051/helloworld.Greeter/SayHello,HTTP/2.0,h=4,cl=-1} - grpc-dlang/source/grpc/GrpcServer.d:70
2020-07-19 18:54:13 (21) [info] onNewStream - server created new stream: 3 - grpc-dlang/source/grpc/GrpcServer.d:69
2020-07-19 18:54:13 (21) [info] onNewStream - server created new stream headers: POST{u=http://127.0.0.1:50051/helloworld.Greeter/SayHello,HTTP/2.0,h=4,cl=-1} - grpc-dlang/source/grpc/GrpcServer.d:70
Segmentation fault
Add a D grpc benchmark.
Library: https://github.com/huntlabs/grpc-dlang
The text was updated successfully, but these errors were encountered: