基于Heartbeat+Nginx的高可用网站的设计与实现  

Design and Implementation of High Availability Website Based on Heartbeat+Nginx

在线阅读下载全文

作  者:江宏 Jiang Hong(Anhui Business College)

机构地区:[1]安徽商贸职业技术学院

出  处:《哈尔滨师范大学自然科学学报》2024年第1期36-41,共6页Natural Science Journal of Harbin Normal University

基  金:安徽省科研编制计划项目:基于Unity3D的工业机器人虚拟仿真控制系统研究(2023AH052298)。

摘  要:为了解决企业对于高可用网站的负载均衡问题,采用了Heartbeat作为高可用组件,对LVS(DR模式)负载均衡集群进行心跳监测,解决集群当中出现的单点故障问题.采用Nginx作为反向代理服务器对后端网站进行负载均衡,由LVS负载调度器来负载调度Nginx集群进行线性扩展,进一步提高网站的负载能力,实现了网站的负载均衡与高可用.通过云客户端发生不同数量级连接访问请求,计算Heartbeat+Nginx负载均衡架构系统的访问数丢包率,验证系统的可行性.结果表明,Heartbeat+Nginx负载均衡架构在5000~8000个高并发访问时,丢包率为零,满足了用户对于Web服务器的高性能、高并发、高可靠性、高可用性等需求.In order to solve the load balancing problem of high availability websites for enterprises,Heartbeat was adopted as a high availability component to monitor the heartbeat of the LVS(DR mode)load balancing cluster and solve the problem of single point of failure in the cluster.Using Nginx as the reverse proxy server to load balance the backend website,LVS load scheduler is used to load schedule Nginx cluster for linear expansion,further improving the website's load capacity and achieving website load balancing and high availability.The number of accesses and packet loss rate of Heartbeat+Nginx load balancing architecture system is calculated by generating connection access requests of different orders of magnitude through cloud clients,and the feasibility of the system is verified.The results show that the Heartbeat+Nginx load balancing architecture has a packet loss rate of zero when there are 5000-8000 high concurrency accesses,meeting the needs of users for high performance,high concurrency,high reliability and high availability of web servers.

关 键 词:集群 高可用 负载均衡 HEARTBEAT NGINX 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象