Load balancing method and system

A load balancing and node technology, applied in the computer field, can solve the problems of consuming large resources, crushing nodes, increasing the health check cycle, etc., to ensure real-time performance, increase the frequency of checks, and reduce resource consumption.

Active Publication Date: 2017-12-08
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current technology, two schemes are usually used to check the validity of nodes: one is to perform high-frequency validity checks, which will consume a lot of unnecessary resources and even overwhelm some already busy nodes; Another method is to increase the cycle of health checks. Although this reduces resource consumption, it will lose the timeliness of node checks.

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
  • Load balancing method and system
  • Load balancing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Other aspects, advantages and salient features of the present invention will become apparent to those skilled in the art from the following detailed description of exemplary embodiments of the present invention when taken in conjunction with the accompanying drawings.

[0053] In the present invention, the terms "include" and "comprising" and their derivatives mean to include but not limit; the term "or" is inclusive, meaning and / or.

[0054] In this specification, the various embodiments described below to describe the principles of the present invention are illustrative only and should not be construed as limiting the scope of the invention in any way. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the present invention as defined by the claims and their equivalents. The following description includes numerous specific details to aid in understanding, but these shou...

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 provides a load balancing method and system. After checking the validity of a node each time, the probability that the state of the node is unchanged is calculated when the node is checked next time, and according to the probability, the time interval between this time node checking and next-time node checking is calculated, so that the time interval of node checking can be dynamically changed, therefore, for the nodes with unchanged validity status, the adaptability reduces the checking frequency and reduces the resource consumption required for checking; and for the nodes with changed validity, the adaptability improves the checking frequency and ensures the real-time performance of checking.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a load balancing method and system, which are used to realize the load balancing of flow among multiple nodes. Background technique [0002] In large Internet companies, applications are deployed on many nodes. In order to achieve load balancing among these nodes, it is necessary to distribute traffic to these nodes. Existing technologies such as figure 1 As shown, the load balancing cluster is used for node distribution. The load balancing cluster is composed of multiple load balancers (for example, haproxy, nginx), each load balancer is connected to each node, and the load balancer can forward the user's request To the application on the node, and return the execution result of the application on the node to the user. [0003] The load balancer needs to perform regular validity checks on the backend nodes to ensure that the nodes are valid. In the current techn...

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): H04L12/26H04L29/08
CPCH04L43/0817H04L43/103H04L67/1029
Inventor 徐新坤
Owner BEIJING JINGDONG SHANGKE INFORMATION 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