摘要: 提出了双网冗余环境下的负载均衡算法,通过设计合适的包选择算法,在保持网络链接属性的前提下,对数据包的关键域进行Hash 运算,在双网之间均衡流量。考虑双网的处理能力和负载情况不同,该文又提出了动态自适应的Hash 算法,可以根据负载情况动态地在双网之间均衡流量。理论分析和试验结果表明,该负载均衡算法提高了高速网络环境下双网的数据采集性能,大大提高了双网的设备利用率。
关键词:
双网;数据采集;负载均衡;算法
Abstract: Load balancing algorithm is proposed to balance flow in dual-network. A package-selected algorithm is designed to balance load, which hashes the crucial fields in packets and keeps the session the packages belong to. Taking into account the difference of process ability and load of dual-network, a dynamic self-adaptive Hash algorithm is brought forward to balance flow in dual-network according to process ability and real-time load. Theoretic analysis and experiments demonstrate that the algorithm is very effective to enhance data acquisition performance in broadband, and that it also improves the use efficiency of devices in dual-network.
Key words:
Dual-network; Data acquisition; Load balancing; Algorithm
李庆海,吴国伟,王清让. 双网冗余的负载均衡算法研究[J]. 计算机工程, 2006, 32(9): 115-117.
LI Qinghai, WU Guowei, WANG Qingrang. Research on Load Balancing Algorithm in Dual-network[J]. Computer Engineering, 2006, 32(9): 115-117.