The backend server pool of an Alibaba Cloud SLB contains multiple ECS instances, which may have different service capacities. To exploit the different service capacities of backend ECS instances, which of the following statements is correct?
- Choose Weighted Round Robin mode to set higher weights to ECS instances with higher capacities The higher the weight of the backend ECS instance the higher chance that the instance will receive requests.
- SLB cannot assign more requests to certain ECS instances.
- Choose Round-Robin model and ECS instances with higher capacities will surely be assigned with more requests.
- Choose Weighted Least-Connection mode, and ECS instances with higher capacities will surely be assigned with more requests.
Answer(s): A
Explanation:
Weighted Round Robin (WRR) is a load balancing mode that assigns requests to backend ECS instances based on their weights. The higher the weight of the backend ECS instance, the higher the chance that the instance will receive requests. This mode can exploit the different service capacities of backend ECS instances by setting higher weights to ECS instances with higher capacities. For example, if there are two ECS instances in the backend server pool, one with a weight of 10 and the other with a weight of 20, the ECS instance with a weight of 20 will receive twice as many requests as the ECS instance with a weight of 10.
Reference:
1: SLB overview - Server Load Balancer - Alibaba Cloud Documentation Center
2: Server Load Balancer - Alibaba Cloud
3: Alibaba Server Load Balancer (SLB) Course - Cloud Academy
Reveal Solution Next Question