Font Size: a A A

Research On Idle Service Ability Dynamic Load Balance Algorithm

Posted on:2017-11-29Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2348330482486361Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
At the present stage, as the network become more and more popular, the attendant problems are the explosive growth of network traffic, and the network servers have to bear bigger and bigger visiting pressure. Facing the pressure of the network servers, the service providers have put forward effective solutions.Firstly, there is one server in the network to deal with the request sent by the client. As the quantity of visit increasing, the system continuously improves the dealing ability of the server by updating the hardware configuration of this server.But the ability of hardware upgrade is limited and the update and maintenance fee is too expensive to satisfy the real demand that the system applies only one server as the solution. So the server providers put forward a new solution that construct a server cluster. Cluster technology is to use the combination of multiple servers to provide service. There is no doubt that this scheme has higher availability and scalability than the solution of a single server.In the cluster technology, the Linux Virtual Server is widely used. This paper mainly does research on the LVS cluster system based on the analysis of cluster technology and load balancing technology. It analyzes the architecture of LVS cluster system, the advantages and disadvantages of the three kinds of working mode, three IP load balancing technology mode, and describes eight kinds of load balancing algorithm in the LVS cluster system. On the basis of the theoretical knowledge, this paper analyzes the disadvantages of weighted least connection load balancing algorithm in LVS cluster system, and proposes an improved algorithm. The improved algorithm will consider the load ability of the server node, performance of the server node and the number of the request connection at the moment as the factor. But, as the quantity of request increasing rapidly and the discrepancy in the resource that the requests take up become bigger, the weighted least connection algorithm cannot dynamically reflect the ability of thenode that dealing with the new-arrival requests.This paper proposes a new algorithm named idle service ability based on the weighted least connection algorithm. This algorithm considers the load ability,performance and connection number, and the load balancer decides which node to deal with the request. This method can effectively avoid the load tilt of the node.In the experimental environment, through the construction of cluster system, the improved algorithm and the original algorithm are tested. The test results show that the improved algorithm can effectively improve performance of the cluster system. When the number of request run up to one hundred to six hundreds, the improvement level can reach four percent to eleven percent on the aspect of the average response time of the improved algorithm is shorter than the weighted least connection algorithm. The results show that effect of the load balance becomes better when the number of request increase.
Keywords/Search Tags:Load Balance, Linux Virtual Server, Weighted Least Connection Algorithm, Idle Service Ability Algorithm
PDF Full Text Request
Related items