摘要
针对Web集群中硬件负载均衡存在单点故障和无法获取服务器状态的情况,在深入分析负载均衡基本原理的基础上,设计一种基于Haproxy(负载均衡软件)+Keepalived(高可用软件)结构的Web集群负载均衡实验系统。该系统基于主/从负载调度模式,采用轮询调度算法,并对负载均衡和高可用性进行实现。实验结果表明,该系统能够有效均衡用户的负载请求,以及调度器角色切换,解决了硬件负载均衡的缺陷,提高了Web集群系统的综合性能。
In view of the disadvantages of single-point configuration and inability to obtain server load in the hardware load balancing of Web clusters,based on an in-depth analysis of the basic principles of load balancing,a Web cluster load balancing system based on the Haproxy(load balancing software)and Keepalived(highly available software)architecture was designed.The system is based on the master/slave load scheduling mode,and a polling scheduling algorithm was adopted,as a result,the functions of load balancing and high availability was realized.The experimental results show that this system not only balanced the flow of user requests and switched the role of the scheduler,but also solved the defects of hardware load balancing,at the same time,improved the overall performance of the cluster server system.
作者
张奎
ZHANG Kui(School of Computer Science and Technology,Kashi University,Kashi,Xinjiang,844006,China)
出处
《新疆师范大学学报(自然科学版)》
2019年第1期91-96,共6页
Journal of Xinjiang Normal University(Natural Sciences Edition)
基金
喀什大学教研教改重点课题(KJDZ1702)
喀什大学青年专项课题((17)2616)等资助
关键词
WEB集群
负载均衡
单点故障
高可用性
Web cluster
Load balancing
Single point of failure
High availability