-
Notifications
You must be signed in to change notification settings - Fork 2.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
Reverse proxy Too much Tcp Connection issue #1909
Comments
linking12
changed the title
Reverse proxy Too much Tcp Connection
Reverse proxy Too much Tcp Connection issue
Jan 15, 2024
|
现在是否有h2 upstream可以开源出来了? |
对于nginx来说反向代理走http1.1协议,在突增流量的情况下,如果backend的接口响应变慢了,nginx会大量开启新的TCP连接到backend,这个并不是预期的,所以走h2/h3的连接复用或者通过queue缓存一部分request应该是比较好的选择,或者面对突增流量,下游接口变慢有更好的解决方案吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
背景:
由于在极端流量并且不能预估流量情况下,如果后端接口的延时是变慢时,在这种情况下nginx与后端服务走http1.1协议,为了把所有的request灌入到后端,会开启大量的Tcp连接;
1: 如果是client ->http1.1->nginx->http3->backend, 目前是支持的么?
https://wbsrv.ru/angie-pro/docs/en/#index-features
2: https://wbsrv.ru/angie-pro/docs/en/http_upstream/#u-queue 这种入队的功能有可能实现吗?
The text was updated successfully, but these errors were encountered: