Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A load balancing method and system for a web server cluster

A WEB server, load balancing technology, applied in transmission systems, electrical components, etc., can solve problems such as inability to accurately measure server load conditions and different server performance

Active Publication Date: 2019-08-20
SOUTH CHINA UNIV OF TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional dynamic load balancing method has limitations. For example, the least connection method uses the number of connections to measure the current load of the server. Because the performance of the server is different and the server resources consumed by the dynamic page access task are different, the same number of connections does not mean the load on the server. The load is the same, so the traditional dynamic load balancing method cannot accurately measure the current load of the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A load balancing method and system for a web server cluster
  • A load balancing method and system for a web server cluster
  • A load balancing method and system for a web server cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0067] This embodiment discloses a load balancing method for a WEB server cluster, and the specific process is as follows:

[0068] S1. First, specify the server to be allocated for each type of static page access, and record it in the hash table of the load balancer; among them, static pages are classified according to file size, and static pages of a certain size range are defined as one Type: In this embodiment, according to the size of the static page file, the static page is classified into 4 types, wherein the file size of the first type of static page is 0-50KB, and the file size of the second type of static page is 51-75KB , the file size of the third type of static page is 76-100KB; the file size of the fourth type of static page is larger than 100KB.

[0069] At the same time, the load rate of each server at the last moment of the next period corresponds closest to the target average predicted load rate of the server at the last moment of the next period. Build a loa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a load balancing method and system of a WEB server cluster. Firstly, for each type of static page access, the server to be allocated is respectively designated, and at the same time, a load balancing target function is constructed. When a page method request is received, it is classified, When it is a static page access request, it is allocated to the corresponding server according to its type; when it is a dynamic page access request, it is obtained according to the optimal allocation weight of each server's dynamic page access in the current cycle obtained in the previous cycle Allocate the dynamic page access at each moment of the current cycle; when the time reaches the last moment of the current cycle, obtain the optimal allocation weight of each server's dynamic page access in the next cycle by balancing the objective function; the present invention is aimed at static pages and dynamic pages Different processing methods are proposed respectively, so that server resources can be fully utilized, and load balancing effects can still be achieved under complex access situations.

Description

technical field [0001] The invention relates to the field of computer server clusters, in particular to a load balancing method and system for WEB server clusters. Background technique [0002] With the rapid development of the Internet, the scale of various networked information systems is getting larger and larger, and the access traffic is increasing exponentially, which puts forward higher requirements for the working performance of the server. When a single web server handles a large number of service requests, there will be problems such as excessive workload, long service request response time, and large feedback delay. In severe cases, there will be a single point of failure, and the user experience will be poor. Therefore, server cluster technology is used to improve system response efficiency and reliability, and to provide users with concurrent services. There are differences in the structure and performance of individual servers in a server cluster, and client a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1004H04L67/1008H04L67/60
Inventor 彭云建申泽星岳喜顺林茂杰叶世武
Owner SOUTH CHINA UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products