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

Load balancing method and system of WEB server cluster

A WEB server and load balancing technology, applied in the transmission system, electrical components, etc., can solve the problems of inaccurate measurement of server load and different server performance

Active Publication Date: 2017-12-01
SOUTH CHINA UNIV OF TECH
View PDF4 Cites 10 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
  • Load balancing method and system of WEB server cluster
  • Load balancing method and system of WEB server cluster
  • Load balancing method and system of 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. The method comprises the following steps: firstly, separately specifying a to-be-allocated server for each type of static page access, meanwhile constructing a load balancing target function, when a page method request is received, classifying the page method request, and when the page method request is a static page access request, allocating the page method request to a corresponding server according to the type of the page method request; when the page method request is a dynamic page access request, allocating the dynamic page access at various moments within a current period according to an optimum allocation weight of the dynamic page access of the servers within the current period obtained within the previous period; and when the time arrives at the last moment of the current period, obtaining the optimum allocation weight of the dynamic page access of the servers within the next period through the load balancing target function. According to the load balancing method and system disclosed by the invention, different processing modes are respectively provided for static pages and dynamic pages, so the server resources can be fully used, and a load balancing effect 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 a WEB server cluster. 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. The structure and performance of individual servers in the server cluster are different, and client access is...

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
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