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

A load balancing scheduling method and system for TCP long connections based on negative feedback mechanism

A technology of load balancing and scheduling method, which is applied in the field of communication technology and informatization, and can solve the problems of being unable to support large-scale TCP long connections and high-frequency message sending and receiving, and not considering the real-time load changes and performance differences of cluster nodes with load tilt, etc., to achieve The effect of reducing the average response time of the cluster, shortening the average response time, and improving the system throughput

Active Publication Date: 2021-12-21
NARI TECH CO LTD +2
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In some scenarios, the LVS scheduling method does not consider the real-time load of nodes to introduce load tilt and does not consider the real-time load changes and performance differences of cluster nodes, and cannot support large-scale TCP long-term connections and high-frequency message sending and receiving scenarios. No effective solution has been proposed so far. s solution

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 scheduling method and system for TCP long connections based on negative feedback mechanism
  • A load balancing scheduling method and system for TCP long connections based on negative feedback mechanism
  • A load balancing scheduling method and system for TCP long connections based on negative feedback mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] In the Linux system, TCP / IP and general network driver software are the core components of the kernel. Data packets pass through these kernel components with socket buffers, which are socket buffers. The socket buffer is responsible for transmitting message data between the source and the sink. In view of the fact that the existing load balancing algorithm fails to solve the problem of load tilt, this embodiment introduces the data accumulation amount of the socket buffer of the kernel as a key indicator, and comprehensively considers CPU performance, CPU average load, memory utilization and cluster online connection rate as load indicators. A load scheduling method for TCP long connections based on a negative feedback mechanism is proposed. Taking a node in the cluster as an example, combined with figure 1 , illustrating the steps of the scheduling method of this embodiment:

[0056] Step 1: Deploy the agent detection program on each node in the cluster, detect that th...

Embodiment 2

[0089] On the basis of Embodiment 1, this embodiment discloses a TCP persistent connection load balancing scheduling system based on a negative feedback mechanism, including:

[0090] The collection agent is distributed and deployed on each node in the cluster to periodically collect node load indicators;

[0091]The node comprehensive load calculation module is used to calculate the node comprehensive load according to the node load index collected by the collection agent;

[0092] The weight calculation module is used to calculate the node weight coefficient according to the node comprehensive load output by the node comprehensive load calculation module;

[0093] The scheduler is configured to allocate client requests to nodes with larger node weight coefficients according to the node weight coefficients of each node.

[0094] The monitor establishes a long connection with each node of the cluster to listen to the health status of the node, and removes the unreachable node...

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 TCP long connection load balancing scheduling method and system based on a negative feedback mechanism, which calculates the comprehensive load by collecting the load indicators on the nodes collected by the agent, and then calculates the node weight according to the comprehensive load, and the scheduler distributes the client requests To the nodes with lighter loads, avoid receiving a large number of requests when some nodes are overloaded, so as to reduce the average response time of the cluster and improve the system throughput.

Description

technical field [0001] The invention belongs to the field of communication technology and information technology, and relates to a TCP persistent connection load balancing scheduling method and system based on a negative feedback mechanism in network communication. Background technique [0002] At present, the 5G era has accelerated. The Internet of Things connects large-scale low-power interactive devices through the Internet. These devices will generate massive amounts of data, and the exchange and processing of data is becoming more and more heavy. The device and the server communicate by establishing a long TCP connection. Factors such as the size, frequency, and quality of service of messages sent and received by the device will put pressure on the server, such as the number of TCP connections, network bandwidth, and system resource utilization. Clustering and load balancing technologies provide ideas for this, such as LVS (Linux Virtual Server) integrated in the Linux ...

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/1008H04L67/1001
Inventor 魏春雷万书鹏于建德范迎陈驰易强张平张峰张凯
Owner NARI TECH CO LTD
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