Skip to content

当 load balancing 切换服务器的时候,当前活动连接是否会中断? #1111

Answered by database64128
pexcn asked this question in Q&A
Discussion options

You must be logged in to vote

When the load balancer switches servers, it does not affect established TCP connections and UDP associations. Now, about your questions:

  1. It depends on how the game uses UDP sockets. If the game does not create and switch to new UDP sockets after the server switch, then it won't be affected at all. If the game does create new UDP sockets, but does not care about source IP changes, then you'll be fine too.
  2. Each time you run curl, it opens a new socket. Previous runs of curl have no lasting effect on subsequent runs.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pexcn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants