Huixxi commented on issue #2808:
URL: https://github.com/apache/brpc/issues/2808#issuecomment-2453711057

   > 目前在brpc::ServerOptions内找到两个参数 
idle_timeout_sec和method_max_concurrency,分别描述为“连接但无数据传输时的连接关闭时间”和“最大并发数” 
目前实际测试过程中(使用slowhttptest工具),当持续建立连接(比如pending 1w个连接),并且持续缓慢发送数据时,服务会被打爆并变得不可用。 
所以请问对于使用BRPC启动的HTTP Service,是否有支持 限制最大连接数,和超时断开连接 的设置。
   
   
参考https://github.com/apache/brpc/blob/master/docs/cn/server.md#%E9%99%90%E5%88%B6%E6%9C%80%E5%A4%A7%E5%B9%B6%E5%8F%91
 进行设置和验证。


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to