Improvement and Implementation of Load Balancing Based on LVS
- Author
- WanYong
- Advisor
- ZhouRongHui
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP393.01 Theory of computer networks
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 144
- Citations
- 5
Abstract
With the the network popularity of the network bandwidth is increasing, the vast majority of commercial sites need to provide high-quality network service. 365 days 24 hours uninterrupted supply network throughout the year, as well as massive user access to timely request response. Who can provide better service than the other sites in the increasingly fierce competition in the commercialization of the Internet era, and who will be able to occupy more market share. Most of the network providers are needed to demonstrate the performance even more remarkable server, and therefore the level of server performance become a major bottleneck affect network services. Through a simple upgrade of server hardware, has been unable to meet to solve the bottleneck of network services, server cluster technology. The server cluster technology via LAN or WAN, a large number of servers to provide individual services combined provide services to the massive customers on the Internet as a whole, through this technology. With the development of the server cluster technology commercialization, be able to build a transparent, high-availability, high reliability, good scalability WEB server cluster system on the Linux open source operating system. Papers for research purposes, the Linux Virtual Server (Linux Virtual Server) LVS. Its load balancing mechanism and conducted in-depth research, and focus on the algorithm of the the LVS software, the core part IPVS. IPVS software that comes with the weighted least connections (WLC) algorithm to analyze certain algorithm could be improved, and to put forward ideas and achieve an improved method. Involved in the thesis work include the following: (1) consider the need to increase the load parameters in the WLC algorithm. (2) design based on the server load parameter values, modify WLC algorithm in dynamic weights mathematical model. (3) algorithm to achieve real-time access to server load parameters; optimize the dynamic weights mathematical model to determine conditions; UDP communication between Windows server and Linux load balancing; the server dynamically rights value passed to the WLC algorithm system kernel scheduling policy implementation. (4) Finally, build a small the LVS cluster system, the Web Application Stress Tool (WSA) compression test software for network users the simulation access test, and then come to the algorithm to improve the front and rear of the experimental data, final analysis and comparison drawn improved conclusion. The proof of the experiment and found that the improvement of the algorithm implemented in the thesis, to a certain extent improve the lack of the original algorithm.
Table of contents
Abstract 6-7
ABSTRACT 7-11
Chapter 1 Introduction 11-17
1.1 Background 11-12 < br /> 1.2 research status 12-15
1.2.1 WEB server cluster Analysis 12-14
1.2.2 Load Balancing Analysis 14
1.2.3 LVS Analysis 14-15
1.3 The main research content and organization 15-17
1.3.1 thesis research content 15-16
1.3.2 papers organization 16-17
Chapter 2 WEB server load balancing cluster system and research 17-25
2.1 server cluster system 17-19
2.1.1 server clustering technology 17-18
2.1.2 server cluster systems use 18-19 <br / > 2.2 WEB server cluster system features 19-20
2.2.1 WEB server system transparency 19
2.2.2 WEB server system's high availability 19-20
2.2.3 WEB server system scalability 20
2.2.4 WEB server system reliability 20
2.3 cluster server load balancing Technical 20-24
2.3.1 Load balancing technology 21
2.3.2 load balancing solution 21-23
2.3.3 Load balancing algorithm 23-24
2.4 Chapter Summary 24-25
Chapter 3 LVS cluster system and its technical research 25-39
3.1 LVS cluster system 25-26
3.2 LVS cluster architecture 26-28
3.3 LVS cluster of three operating modes and performance analysis 28 - 33
3.3.1 based on LVS / NAT working mode 28-29
3.3.2 based LVS / IP TUN working mode 29-31
3.3. 3 Based on LVS / DR operating mode 31-32
3.3.4 Comparative analysis of three operating modes 32-33
3.4 LVS common scheduling algorithm analyzes 33-38
3.4.1 static algorithm 34-35
3.4.2 dynamic algorithm 35-38
3.5 Chapter Summary 38-39
Chapter 4 LVS algorithm analysis and improvement 39-53
4.1 LVS algorithm insufficient analysis 39-40
4.2 Dynamic load balancing algorithm design and weights Mathematical modeling 40-42
4.2.1 server load factors selected 40-41
4.2.2 server weights to change the mathematical model 41-42
4.3 Improved algorithm to realize 42-51
4.3.1 server load parameters of the acquisition 42-45
4.3.2 server dynamically weights calculated 45-47
4.3.3 server dynamically weights and load balancing-side communication 47-49
4.3.4 server weights dynamically scheduling using 49 - 51
4.4 Chapter Summary 51-53
Chapter 5 Improved algorithm simulation testing and analysis 53-63
5.1 LVS test environment to build 53-56
5.1.1 end load balancer configuration 54-55
5.1.2 server configuration 55-56
5.2 software installation and compression tests Set 56-58
5.3 Simulation results of the analysis and summary 58-62
5.3.1 LVS cluster external performance analysis 58-60
5.3 .2 LVS cluster performance analysis 60-62
5.4 Chapter Summary 62-63
Summary and Outlook 63-65
paper summarizes 63
Looking further work 63-65
Thanks 65-66
References 66-68
During the master's degree published papers and the main research projects 68-69
Related dissertations
- Architecture Research and Implementation of a Digital Rights Management Operation Platform Based on LVS
- Research and Design of Scalable Network Server Based on Linux
- Research on Technology of Dynamic Load Balancing for CDN
- Research and Implementation of Virtualization Management Framework for High Availability
- Research and Application of Interactive Digital Media Service Platform
- Research and Implementation of Video Conferencing System Technology Based on Red5
- Current Control Mode of PWM Controller Chip Design
- The research and implementation of dynamic load based on LVS/DR cluster
- Design and Implementation of Server Load Balance Module Based on V7Platform
- Research on Server Load Balancing Algorithm Based on Dynamic Feedback Weighted Least-Connections
- Research and Design of Large Scale Video Tran-Scoding Scheduling Algorithm
- Management System Design and Implementation Based on Apache-Tomcat Server Cluster
- The Advertisement Management System Based on Dual-Server Architecture
- The Research and Implementation of Webgame Platform Based on Server Cluster Technology
- Research on a LVS Cluster System Based on Cookie Session Maintenance
- Design and implementation of network VOD system based on Streaming Media
- H.264/Svc Streaming Media System Optimization and Implementation
- White LED Driver Chip Circuit Layout Design and Verification
- The Research and Implementation of Cluster Network Services Based on Proactive Schedule
- The Study and Implementation of Scalable Network Services