[grpc-io] Asking for relationship between grpc connection/request and completion group

2024-12-12 Thread hao jiang
Hi team, I would like to know the relationship between completion group and grpc connection, sync grpc requests? For example, does all grpc requests share one single completion queue, or one queue serves each request? Does all grpc connections share one single cq, or one connection has its ow

[grpc-io] How to initiate multiple TCP connections in grpc

2022-04-09 Thread 'Hao Jiang' via grpc.io
Hi, I have an application which retrieves data from service. `iperf` shows download throughout for one single TCP connections is only 20MBps, but the requirement is 100MBps. I tried `iperf` with 10 TCP connections (`iperf -c -P 10`), and it shows the bandwidth could be 100MBps. So I want to u

[grpc-io] How to create multiple TCP connections in C++ grpc

2022-04-09 Thread 'hao jiang' via grpc.io
Hi, I have an application which retrieves data from service. `iperf` shows download throughout for one single TCP connections is only 20MBps, but the requirement is 100MBps. I tried `iperf` with 10 TCP connections (`iperf -c -P 10`), and it shows the bandwidth could be 100MBps. So I want to u

[grpc-io] [Question] Using grpc compression weirdly leads to low throughput

2022-06-20 Thread 'Hao Jiang' via grpc.io
Hi, I have a service using grpc to stream data to client-side. For the original implementation, the average throughput could be ~110MBps with a 1Gbps NIC, so I think bandwidth itself is a bottleneck. The usual way is to enable compression/decompression. I found grpc supports compression nativ