Server load equalization method for implementing weighted minimum linked allocation

A weighted minimum connection and load balancing technology, which is applied to instruments, random number generators, electrical digital data processing, etc., can solve the problems that the calculation results of the server group cannot be refreshed in time, the speed of fixed-point processor division is slow, and the server load increases. , to achieve the effect of reducing the possibility of unbalanced load distribution, reducing the amount of calculation, and improving accuracy

Inactive Publication Date: 2005-01-19
HUAWEI TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method only calculates the connection status of each server once in each timer refresh interval, instead of calculating when each connection is added or disconnected, so the calculation results of the server group cannot be refreshed in time
In the case of a large timer refresh interval or a large number of users and heavy traffic, it may cause a sharp increase in the load of a server within a timer refresh interval, or even exceed the load capacity of the server and still be used by the server group. Used as a scheduled server, causing a large number of new access requests to wait for a long time or even be discarded due to timeout
Although this problem can be improved by reducing the refresh interval of the timer, because the fixed-point processor performs division operations slowly and has poor performance, the reduction of the refresh interval of the timer is limited, so it cannot be solved fundamentally question

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
  • Server load equalization method for implementing weighted minimum linked allocation
  • Server load equalization method for implementing weighted minimum linked allocation
  • Server load equalization method for implementing weighted minimum linked allocation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.

[0069] In this example, a fixed-point processor is used as a scheduling processor to implement a server load balancing method for weighted least connection scheduling. figure 1 A flowchart showing the operation process of an embodiment of the present invention. First at figure 1 In step 30 of the shown flowchart, the weighted value of each server in the server group is selected according to the performance of the server. The greater the weight, the greater the chance of getting a connection. Generally, a larger weighting value is selected for servers with strong load capacity. For example, a server group consists of 5 servers. The load capacity of the server is represented by the maximum allowable TCP connection number CMAXi(i=1,...,5) of the server, and the current total number of services of the server is represented by the current TCP connection ...

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

This invention discloses a weight minimum joint number dispatch server load balancing method. The technique scheme of the invention are the following: to preset the state representing each server current connection information in the server group, wherein, the said state is represented by data structure with at least one data item comprising data representing the current load states of each server; the said current server load states is represented by the first data item in at least one data item; when load is evenly dispatched, it goes through all first set data items representing current server load states ; it selects server relevant to minimum first preset data set to switch in and at the same time to alter the data item.

Description

Technical field [0001] The invention relates to a multi-server load balancing technology, in particular to a server load balancing method for realizing weighted minimum connection distribution. Background technique [0002] With the rapid development of Internet technology, Internet users have increased dramatically. At the same time, Internet content providers use various technologies and methods, especially multimedia technologies, to meet the higher-level requirements of Internet users for Internet content and forms to make the visual effects of websites more attractive to users. The increase in the number of user visits and the increase in the user's single visit traffic have put forward higher requirements on the server's ability to withstand concurrent visits. Since the load capacity of a single server is always limited, in the face of increasing number of user accesses and access traffic, the central processing unit (CPU) and input / output (I / O) of a single server will soon...

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 Applications(China)
IPC IPC(8): G06F7/00G06F7/58
Inventor 龚华熊鹰
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products