-
Notifications
You must be signed in to change notification settings - Fork 26.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why send flow control error when connection window is 0 #13676
Comments
@AlbumenJ 能否帮忙联系下作者回复下? java to java因为默认窗口设置的8M, 所以暂时未触发此异常. 但我们跨语言调用碰到了. golang那边的初始化窗口大小只有64k. 这里的逻辑, 给不到远端做窗口更新的机会. |
@EarthChen PTAL |
这里其实是反压逻辑没做彻底,为了保护让consumer 中断,从而不再发请求 |
那我先将我们内部版本调整回netty的默认流控策略了. 现在在跨语言调用下, 实际体验并不好. |
默认策略是放入队列等待,当 consumer 速率大于 provider 时,可能导致 oom |
对于dubbo自定义的http2 流控窗口逻辑有点疑惑.
复现步骤:
dubbo version: 3.2.x
TriHttp2RemoteFlowController
provider报:
这里很好奇, http2 官方协议并没有规定, 当 connection window为0 时 直接发送 flow_control_error. 常规做法不应该是暂停发送, 等待
窗口更新后 继续传输么?
The text was updated successfully, but these errors were encountered: