On 100Gb network, I create a server to listening on 4 ports and grpc can 
reach 3GB+/s throughput.
However, when the server listening on one port, grpc reaches just 1GB/s 
throughput, even I set 

```
    args.SetInt(GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES, 1024*1024*1024);
    args.SetInt(GRPC_ARG_MAX_CONCURRENT_STREAMS, 10);
```

It seems that grpc can use only one connection concurrently on one port 
service. Am I right? 

What's the correct way of doing it?

My code is here:

client: https://github.com/gongweibao/tests/blob/develop/grpc_test/client.cc
server: https://github.com/gongweibao/tests/blob/develop/grpc_test/server.cc
 

-- 
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/648d7956-50c0-4cf8-b1ec-5bdfe7fa4367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to