Load balancing method, device, electronic equipment and storage medium

A load balancing and balancing algorithm technology, applied in the computer field, can solve the problems of idle service node load and affect the processing efficiency of the service system, and achieve the effect of reasonable load, increase the query rate per second, and improve processing efficiency.

Inactive Publication Date: 2018-11-13
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the actual business processing process, the processing resources of the service nodes occupied by different service requests are also different. According to the preset ratio, the polling method is used to allocate service requests, and some service nodes may be overloaded and some service nodes are idle. The situation affects the processing efficiency of the service system

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, device, electronic equipment and storage medium
  • Load balancing method, device, electronic equipment and storage medium
  • Load balancing method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0054] In the actual business processing process, the processing resources of service nodes occupied by different service requests are also different. In the service system, according to the preset ratio, the polling method is used to allocate service requests, and some service nodes may be overloaded and some service nodes may be overloaded. The idle load of the service node affects the processing efficiency of the service system.

[0055] In view of this, the embodiment of the present invention provides a load balancing method, see figure 1 , the method includes:

[0056] S101. Obtain load information of each service node in the service system.

[0057] The load balancing method in the embodiment of the present invention can be implemented by a load balancing system, and the load balancing system is...

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

Embodiments of the invention provide a load balancing method, a load balancing device, electronic equipment, and a storage medium. The method comprises: acquiring load information of each service nodein a service system; determining the current load weight of each service node by using the load information of each service node based on a preset equalization algorithm; backing the current routingdata of the routing table up to a preset location; updating the routing data in the preset location according to the load weight of each service node to obtain the updated routing data; and configuring the updated routing data as the current routing data of the routing table. The load balancing method provided by the embodiments of the invention uses the load information of each service node to determine the current load weight of each service node, and may configure the load of each service node, which is more reasonable, according to the real-time load information of each service node, thereby improving the processing efficiency of the service system.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a load balancing method, device, electronic equipment and storage medium. Background technique [0002] With the development of Internet technology, Internet business forms are also showing a trend of diversity, and the logic of back-end functions is more complex. With the development of technologies such as microservices, back-end service systems are more inclined to logic and functional decoupling. [0003] In the service system, according to the preset ratio, service requests are configured for each service node through polling. For example, when the service system includes three service nodes and the preset ratio is 1:2:1, the first A service node allocates 1 service request, allocates 2 service requests to the second service node, allocates 1 service request to the third service node, and polls to allocate service requests. [0004] However, the inventor found in the pro...

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): H04L12/803
CPCH04L47/125
Inventor 燕亚
Owner BEIJING QIYI CENTURY SCI & 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