LVS 现有的负载均衡算法在分配服务器请求时大多都是基于固定权值,使得 LVS 集群系统在长时间高负荷运行后会出现负载倾斜。为此,给出了一种改进的负载均衡算法,该算法通过引入负反馈机制,充分考虑服务器权值的动态调节,更准确地反映了各服务器的真实负载情况。测试结果表明,该算法优于原有算法。%The existing LVS load balancing algorithm is mostly decided by the fixed weights in the distribution of server requests, which makes the LVS cluster system show load skew in long time high load operation. Therefore, this paper presents an improved load balancing algorithm. This algorithm introduced by a negative feedback mecha-nism, giving full consideration to the dynamic regulation of the server weight, can more accurately reflect the real server load. Test results show that it is better than the original algorithm.
展开▼