lifeiyang commented on issue #1346: URL: https://github.com/apache/incubator-brpc/issues/1346#issuecomment-791180912
grpc-c 里面没有提供对外的接口和配置能够手动修改h2 的connection_window_size, 它是通过BDP(bandwith delay production)来自动调节流控窗口的(包括stream_window_size和conn_window_size),我们通过比对发现grpc服务端启动的时候通过配置项: builder.AddChannelArgument(GRPC_ARG_HTTP2_BDP_PROBE, 0); 关闭了BDP; 这样server端就没法根据客户端发送的数据包大小,自动调节流控窗口大小,最终导致brpc 客户端无法持续发送大的数据包, 也就是说brpc client 和grpc server 端都保持默认的流控策略是没有任何问题的,感谢@zyearn的问题分析。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
