Help Center/ Elastic Load Balance/ User Guide (Ankara Region)/ FAQ/ Backend Servers/ When Will Modified Weights Take Effect?
Updated on 2024-04-18 GMT+08:00

When Will Modified Weights Take Effect?

The new weights for backend servers take effect 5 seconds after the weights are configured.

  • TCP and UDP listeners forward requests over new connections based on the new weights. However, connections that have been established with backend servers will not be affected.
  • HTTP and HTTPS listeners forward requests based on the new weights. However, requests that have been forwarded to backend servers will not be affected.

If the weight of a backend server is changed to 0, the new weight does not take effect immediately, and requests are still routed to this backend server. This is because a persistent connection is established between the load balancer and the backend server and requests are routed to this server until the connection times out.

  • TCP and UDP listeners: Persistent connections are disconnected after the idle timeout duration expires.
  • HTTP and HTTPS listeners: Persistent connections are disconnected after the response timeout duration expires.