Closed sN0wpeak closed 4 days ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
In 1.x and the B site articles on the Internet, I saw that when calculating load in p2c, CPU is added as a calculation factor to the load score. In 2.x, this CPU factor is removed. The problem is that if the backend delay is uneven due to various reasons, the request load balance will be very uneven. There is about a 7-fold gap here. Do you want to know the reason for removing this CPU as a calculation factor?
在1.x和网上的B站文章中,我看p2c中给load计算的时候都会把CPU作为计算因子加入到load打分中,在2.x把这个cpu因子去掉了。 带来的问题是如果后端延迟因为各种原因不均衡,会造成请求负载均衡非常不均,我们这边大概有有7倍的差距。 想知道去掉这个CPU作为计算因子是出于什么考虑吗?