Dynamic feedback load balancing method based on weighted least connection

A weighted minimum connection and load balancing technology, applied to electrical components, transmission systems, etc., can solve problems such as reducing the feasibility of algorithms, and achieve the effect of avoiding communication load overhead and reducing system load pressure

Inactive Publication Date: 2017-05-31
ZHEJIANG SCI-TECH UNIV
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The centralized dynamic load balancing algorithm introduces communication load overhead that affects the overall performance during the load balancing process, but reduces the feasibility of the algorithm

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
  • Dynamic feedback load balancing method based on weighted least connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to describe the present invention more specifically, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0040] Such as figure 1 As shown, the present invention is based on the weighted minimum connection dynamic feedback load balancing method, specifically including:

[0041] Step 1. Pre-initialize the entire system, including: detecting downstream connection read events, creating an upstream structure, and initializing the upstream structure and upstream server requests.

[0042] Step 2, initialization of the weight and connection threshold of the upstream server.

[0043] Step 3, the Nginx reverse proxy server receives the client's request, and uses the weighted minimum connection algorithm to obtain the current best upstream server node p before request allocation;

[0044] Step 4, judge whether the number of connections of the current optimal upstream ...

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 dynamic feedback load balancing method based on a weighted least connection, which comprises the steps that: (1) a weight and a connection threshold of an upstream server are initialized; (2) a Nginx reverse proxy server receives a request of a client and carries out judgment of a connection number and sending of a load information acquisition instruction; (3) the upstream server receives the request of the Nginx reverse proxy server, and carries out parsing of a request instruction and feedback of the load information acquisition instruction; and (4) the Nginx reverse proxy server receives a request response of the upstream server, carries out parsing of load information and updating of a real-time weight of the upstream server, and finally, returns the response to the client. According to the method, on the basis of not increasing communication load cost, dynamic feedback of the server load information is implemented, and accuracy of load allocation is promoted.

Description

technical field [0001] The invention relates to a network request load balancing distribution algorithm in a distributed parallel computer network, in particular to a dynamic feedback load balancing method based on weighted minimum connections. Background technique [0002] With the development of computer technology and the deep penetration of the Internet, the Web has become the main content service form, which has greatly promoted the dramatic growth of Internet users and the explosive growth of traffic. This also poses a huge challenge for web servers. Through the load balancing technology, it can effectively relieve the performance pressure of the web server in the case of high concurrency and high traffic volume, and improve the service quality of the web server. Load balancing technology can expand the existing network bandwidth, increase throughput, strengthen network data processing capabilities, improve network flexibility and availability, and effectively solve t...

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): H04L29/08
CPCH04L67/1004H04L67/56H04L67/60
Inventor 黄静
Owner ZHEJIANG SCI-TECH UNIV
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