TousakaRin commented on issue #2970: URL: https://github.com/apache/brpc/issues/2970#issuecomment-2892648326
自适应限流算法会观察上一个时间窗口的平均latency,极限qps这两个指标,进而对max_concurrency进行平滑的调整,一般来说即便下游不同接口的处理时间不一样,全局看来平均延迟和极限qps也会相对稳定。至于会过度保护其实是一个trade off,想要获得最佳 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]
