There are three servers with different configurations. Load balancers use weighted polling. What is the weight of each server?

description :
WEB project, which has three servers:
A.2 core / 6G memory / 50G disk
B.2 core / 6G memory / 50G disk
C.2 core / 4G memory / 40G disk
load balancing uses weighted polling.
question
how much weight should be given to each machine? Is there any general formula for calculation?

Sep.22,2021

if your service is computationally intensive and requires little memory and hard disk, the performance of your three servers is the same
if it runs full of memory, it should be calculated based on memory.

so there is no general formula, but the bearing capacity of each server should be calculated according to the bucket principle, and the bottleneck of the server really needs to be considered.

Menu