文档介绍:广西师范大学
硕士学位论文
的Web集群负载均衡仿真研究
姓名:廖艳达
申请学位级别:硕士
专业:电路与系统
指导教师:王力虎
20070401
基于 的 Web 集群负载均衡仿真研究
研究生:廖艳达导师:王力虎教授
年级:2004 级专业:电路与系统研究方向:计算机网络与应用
摘要
近年来随着 技术的迅猛发展及互联网宽带的快速普及,使得网民数量
激增,各种基于互联网的应用层出不穷:如电子商务,文件下载等,网络流量几乎呈指
数增长,网民对服务器响应速度的要求越来越高,网站往往通过升级单个服务器的 CPU
处理速度、内存空间等硬件条件,甚至通过更换新的服务器来提升服务性能,但是投入
与产生不成比例,效果仍然不甚理想。
Web 集群和负载均衡技术具有可靠性、可伸缩性和可管理性,采用集群方式解决
这一问题是一个高性价比方案,Web 集群通过负载均衡对 Web 请求分流至不同的服务器,
请求分流操作对客户具有透明性,从而加快网站响应速度,提高网络服务质量。
本项目来源于实践,以广西师范大学出版社网站集群的实际应用需求为研究目的。
针对网站三种主要 Web 请求(http 请求、ftp 请求、数据库查询请求)特点和运行机制,
通过网络仿真软件 对 Web 集群的四种传统负载均衡算法(随机算法、轮询算法、
最小连接数算法、最小负载算法)进行建模与仿真,并对仿真结果进行特性分析,依此
提出一种自适应算法即:根据客户请求类型的差异性动态从备选算法中加载响应速度最
快的算法。最后,就如何实现新算法的负载均衡器详细描述了它系统结构与主要步骤。
关键字: Web 集群负载均衡
I
Simulation Study of Load-balancing on Web
Cluster based on
Graduate student: Liao Yan-DA Advisor: Prof. Wang Li-Hu Grade: 2004
Major: Circuit and System Research work and application
Abstract
In recent years, with the fast development of technology and rapid
popularization of Broadband, the quantity izen has increased rapidly. Various applicaton
of have emerged continously, such as: merce, FTP download, and so on. The
network traffic is increasing approximately by exponent. As a result, the higher responed
speed of server is required. Normally,websites improve the performance of servers by
updating the process speed of CPU of a single server ,by extending memory,even by
purchasing a new , it is dissatisfactory that the input be high while output be
low.
Web Cluster system and Load balancing technology have properties of reliability,
scalability and manageability. It is a good high performance-price ratio project to resolve the
problem by adopting the Web Cluster. Web Cluster system assigns requests to different web
servers by loaded balancer. The operation is transparent to clients. Accordingly, the respond
speed of website is increased, and the quality of se