cuisonghui commented on issue #697: 客户端出现大量timeout URL: https://github.com/apache/incubator-brpc/issues/697#issuecomment-482028275 没有设置最大并发度,之前也想设置,但是对应的不知道bthread_worker_count应该设置多少. 因为我们的系统是这样的,此服务需要向后端节点(比如说10个后端节点)发送请求,那么就会从我们自己的线程池中取10个thread并发请求后端节点,整体都是同步等待的过程,根据我的理解,这样的话可能一次请求就需要消耗bthread的数量是10+1次.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
