Application of load balancing algorithm in smart mine software platform
-
摘要: 针对现有负载均衡算法在处理智慧矿山系统数据时存在处理速度慢、无法合理利用现有资源完成任务调度等问题,提出一种基于布谷鸟搜索的加权最小连接数(CS-WLC)算法,并将其应用于智慧矿山软件平台解决负载均衡问题。该算法综合考虑后端服务器处理速率、内存容量、磁盘IO速率、网络吞吐量、进程数指标,通过对指标赋予权值计算各后端服务器利用率;根据计算结果,采用布谷鸟搜索算法对后端服务器进行全局寻优,得到一组较优解;考虑连接数及使用频率对后端服务器赋予权值,采用加权最小连接数(WLC)算法在较优解中选取负载较轻的后端服务器处理实时数据存取和用户访问请求。采用分布式融合性监控系统软件平台进行负载均衡测试,结果表明在数据量不断增多的情况下,与WLC算法相比,CS-WLC算法应答时延小、响应连接数多,从而验证了CS-WLC算法具有更好的负载均衡效果。Abstract: For problems of current load balancing algorithms such as slow processing speed and unreasonable use of existing resources to complete task scheduling in processing data of smart mine system, a cuckoo search based weighted least connection (CS-WLC) algorithm was proposed and applied to smart mine software platform for load balancing. The algorithm synthetically considers backend server indexes including processing speed, RAM, disc IO speed, network throughput and process quantity, and calculates availability of each backend server through assigning weight to each index. Cuckoo search algorithm is used for global optimization of the backend servers according to the calculation results, so as to get an optimal solution collection. The backend servers are assigned weights considering linking number and usage frequency, and weighted least connection (WLC) algorithm is used to select a backend server with lighter load in the optimal solution collection to process real-time data and user access requests. Load balancing test is carried out on software platform of distributed fusion monitoring system. The results show that CS-WLC algorithm has shorter response time-delay and larger linking number than WLC algorithm under the condition of data increase, which verifies CS-WLC algorithm has better load balancing effect.
点击查看大图
计量
- 文章访问数: 64
- HTML全文浏览量: 10
- PDF下载量: 11
- 被引次数: 0