针对大规模网络环境下的文件上传接收服务系统的需求,设计了一个集群架构的文件接收服务系统,采用多台接收服务器来实现文件接收服务,提高了系统的稳定性和可用性。根据文件传输的特点,综合考虑文件流量负载情况和服务器当前负载情况,提出了一个综合负载统计的负载均衡算法,测试结果表明基于该算法的文件接收集群系统具有较好的负载均衡效果。设计并实现了文件上传接收服务系统的负载均衡引擎,解决了系统的负载失衡问题,提高了系统的运行效率。
According to the demand of up- transfer file receiving system in large - scale network circumstance, a file receiving system based on duster is designed, so that the availability and stability of the system are improved by constructing receiving server cluster system from multi computers. A load - balancing algorithm for synthetic loading statistic is presented according to the character of the file transfer, taking the file transfer loading and the loading of the server into account. Test result shows that file receiving system based on this algorithm is proved to get better effect. Finally, the load - balancing engine for the system is designed and implemented to solve the out - of - balancing of the system, so that the efficiency of the system is improved.