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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdbdff-3128f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdbdff-3128f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?