当 load balancing 切换服务器的时候,当前活动连接是否会中断? #1111
-
当服务器出现如下日志的时候: 2023-02-10T23:26:09.334097264+08:00 INFO switched best TCP server from xx.xx.xx.xx:1984 to yy.yy.yy.yy:1984
2023-02-10T23:26:29.338321573+08:00 INFO switched best UDP server from xx.xx.xx.xx:1984 to yy.yy.yy.yy:1984 对这个功能有两个疑问:
cc @zonyitoo 😅 |
Beta Was this translation helpful? Give feedback.
Answered by
database64128
Feb 10, 2023
Replies: 3 comments
-
It won't change any already established connections. |
Beta Was this translation helpful? Give feedback.
0 replies
-
When the load balancer switches servers, it does not affect established TCP connections and UDP associations. Now, about your questions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pexcn
-
感谢大佬们的解答 😁 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the load balancer switches servers, it does not affect established TCP connections and UDP associations. Now, about your questions:
curl
, it opens a new socket. Previous runs ofcurl
have no lasting effect on subsequent runs.