当前位置:主页 > 管理论文 > 移动网络论文 >

集群WEB应用下的负载均衡技术研究与应用

发布时间:2018-11-08 15:57
【摘要】:随着网络技术和Internet的快速发展,当今的计算机世界已经进入了一个以网络计算为中心的时代,浏览器/服务器模型以其简单性、易维护性、易扩展性而在网络中被大量的使用,大量的网络服务和应用如:电子商务、新闻资讯、视频娱乐等都围绕着Web而展开,巨大数量的Internet用户和网络流量一方面推动着应用于Web开发的Web应用框架技术的不断革新,另一方面也给服务器端的数据处理能力、带宽和服务的稳定性带来了严峻的挑战。对于大规模的Web应用而言,仅仅依靠一些优秀的企业级应用开发框架,只能解决企业适应业务的快速变化和快速开发的需要,但是,如何建立一套高可用、高性价比、高性能、易管理的网络服务器平台,来解决服务器端的瓶颈问题,是目前人们正在努力解决的问题。综合运用集群和负载均衡技术就是一种很好的解决方案,所以近年来服务器集群技术在Web应用中得了广泛的应用。本文首先对基于负载均衡的Web服务器集群技术进行了研究,对主流的Web服务器集群技术进行了比较、归纳,研究了Linux虚拟服务器(LVS)系统的内部架构和特点。其次为解决公司内部的服务器管理问题,设计并开发一套服务器运营维护管理系统。该系统基于J2EE平台,采用B/S(Browser/Server)模式,使用开源的SpringMVC框架,数据库使用MySQL“主-从”数据库策略,使服务器端的读写分离,保证服务器端的数据一致性和高稳定性。由于该系统的使用量相当大,为使系统的网络架构能保证大量用户同时使用时,系统仍然能提供正常服务,本文探索出了一套廉价且可用的解决方案,提出使用LVS进行服务器端负载均衡,搭建一个具有负载均衡性能的服务器群组,以保证系统具有处理高并发、高流量的性能需求。最后经测试结果表明,该方案能有效的解决系统面临的大并发、高流量的问题,很好的实现了集群负载均衡的效果。该系统在实际使用中已经历了上万人次的使用检验,并可以处理300人峰值访问的性能需求。
[Abstract]:With the rapid development of network technology and Internet, the computer world has entered an era centered on network computing. The browser / server model is widely used in the network because of its simplicity, maintainability and expansibility. A large number of network services and applications such as: electronic commerce, news information, video entertainment and so on are developed around Web. On the one hand, a huge number of Internet users and network traffic promote the continuous innovation of Web application framework technology applied to Web. On the other hand, it also brings serious challenges to the data processing ability, bandwidth and service stability of the server. For large-scale Web applications, only relying on some excellent enterprise application development framework can only meet the needs of rapid business changes and rapid development. However, how to establish a set of high availability, high performance and high performance, Easy to manage the network server platform, to solve the server side of the bottleneck problem, is currently trying to solve the problem. The application of cluster and load balancing technology is a good solution, so server cluster technology has been widely used in Web applications in recent years. This paper firstly studies the Web server cluster technology based on load balancing, compares the mainstream Web server cluster technology, and summarizes the internal structure and characteristics of Linux virtual server (LVS) system. Secondly, in order to solve the problem of server management, a server operation and maintenance management system is designed and developed. The system is based on J2EE platform, adopts B / S (Browser/Server) mode, uses open source SpringMVC framework, and uses MySQL "master-slave" database strategy, which makes the server read and write separately, and ensures the data consistency and high stability of the server. Because the usage of the system is very large, in order to make the network architecture of the system ensure that a large number of users can use it simultaneously, the system can still provide normal service, so this paper explores a set of cheap and available solutions. This paper proposes to use LVS to balance the load on the server side and build a server group with load balancing performance to ensure that the system has the performance requirement of dealing with high concurrency and high traffic. Finally, the test results show that this scheme can effectively solve the problem of large concurrency and high traffic, and achieve the effect of load balancing. The system has experienced tens of thousands of usage tests in actual use and can handle the performance requirements of 300 peak access.
【学位授予单位】:天津大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09

【参考文献】

相关期刊论文 前4条

1 邱朝阳;沈程昊;;基于MySQL Replication的数据库集群解决方案[J];电脑与电信;2009年08期

2 燕彩蓉;沈钧毅;彭勤科;;一种基于预取的集群服务器调度算法[J];控制与决策;2006年03期

3 张友生,陈松乔;层次式软件体系结构的设计与实现[J];计算机工程与应用;2002年22期

4 王云岚,李增智,薛军,班世敏;基于DNS的负载均衡算法研究[J];计算机工程与应用;2002年04期

相关硕士学位论文 前3条

1 张希;基于Linux虚拟服务器动态负载调度策略的研究[D];吉林大学;2010年

2 陈亮;集群负载均衡关键技术研究[D];中南大学;2009年

3 阚闯;一种新的基于Linux虚拟服务器集群的动态负载均衡算法[D];中国海洋大学;2008年



本文编号:2318961

资料下载
论文发表

本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2318961.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户b1aa3***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com