Server load equalization method for implementing weighted minimum linked allocation

A weighted minimum connection and load balancing technology, which is applied in the direction of instruments, random number generators, calculations, etc., can solve the problems that the calculation results of the server group cannot be refreshed in time, the division operation speed of fixed-point processors is slow, and the server load increases, etc., to achieve reduction Calculations, good balance, and the effect of reducing the possibility

Inactive Publication Date: 2008-05-14
HUAWEI TECH CO LTD
View PDF3 Cites 2 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

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

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

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 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, in order to meet Internet users' higher-level requirements for Internet content and form, Internet content providers use various technologies and means, especially multimedia technology, to make the visual effect of the website more attractive to users. The increase in the number of user visits and the increase in the traffic of a single user visit puts forward higher requirements on the ability of the server to withstand concurrent visits. Since the load capacity of a single server is always limited, the central processing unit (CPU) and input / output (I / O) of a single server will soon become bottlenecks in the face of increasing user access num...

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