ning2510 opened a new issue, #2970: URL: https://github.com/apache/brpc/issues/2970
通过阅读文档发现,brpc使用的自适应限流算法可能会在特殊场景出现过度保护的问题,所以想请教下。 算法公式:max_concurrency = max_qps * ((2+alpha) * min_latency - latency) 可以发现该算法是基于RT来调整max_concurrency。 假如下游有多种不同的接口,一部分接口(20%)的处理时间较短,一部分接口(80%)的处理时间较多。这就会发生min_latency下降的同时,latency在上升,进而导致max_concurrency下降,出现过度保护的情况。 请问针对于这种场景是否有更好的建议或方法? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
