Remote call adaptive load balancing method, device and system and computer equipment

An adaptive load and remote call technology, applied in the field of information systems, can solve problems such as increasing service response time, prolonging RPC call links, and backlog of large requests, etc., to achieve the effect of rational utilization of resources

Active Publication Date: 2021-08-06
中邮消费金融有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For an RPC provider with poor performance, a large number of requests will be backlogged under heavy load, and the response time will become longer, which will become a shortcoming of the entire service
[0007] (2) The newly introduced load balancer itself is a single point of failure in many scenarios. Although this problem can be solved by means of virtual IP (VIP), the introduction of the load balancer will extend the RPC call link and increase service response time

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
  • Remote call adaptive load balancing method, device and system and computer equipment
  • Remote call adaptive load balancing method, device and system and computer equipment
  • Remote call adaptive load balancing method, device and system and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0113] Assuming that there are 4 service nodes in the RPC service framework cluster, the main frequency of the service node 1 (PyNode1) is relatively low, and the main frequency of the other 3 is relatively high, and their cores are all 16. To prevent short boards, according to experience The load factor factor1 of service node 1 is set to 0.1, and the load factors of other service nodes are all 0.08. The heartbeat of service node 4 is found to be abnormal by other nodes during the service process, and its load4 is set to -1. The information obtained by the server is shown in Table 1:

[0114] Table 1

[0115] Index value service node 1 service node 2 service node 3 service node 4 factor 0.1 0.08 0.08 0.08 qsize 15 30 20 - loadavg 8.1 9.5 5.2 - cores 16 16 16 16 load(≈) 0.7594 1.425 0.52 -1

[0116] When the SDK node of the RPC call initiator calls the RPC service provider, the information calculated in the SD...

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 relates to a remote call self-adaptive load balancing method, device and system and computer equipment, which can ensure the most reasonable utilization of resources of a whole cluster. The invention provides a remote call adaptive load balancing method. The method comprises the following steps: acquiring and updating load information of each service node; and sending an RPC request according to the load information. The method provided by the invention can obtain the load information of each service node, can guarantee the understanding of the load state of each service node, sends the RPC request to the service node according to the obtained load information, achieves the better selection of a proper service node among the service nodes to provide services, and service short boards are avoided, so resources of the whole RPC cluster are reasonably utilized.

Description

technical field [0001] The present invention relates to the technical field of information systems, in particular to a method, device, system and computer equipment for remote call self-adaptive load balancing. Background technique [0002] Remote Procedure Call (RPC, Remote Procedure Call) refers to sending a request (including the called method name, input parameters, etc.) A technique for passing requests back to the client. According to whether the development language of the client and the server is the same, it can be divided into remote calls of the same language, such as Java RMI (Remote Method Invocation); and cross-language remote calls, such as gRPC and Thrift. [0003] Existing remote procedure calls can work well in single-node mode. In a large concurrent distributed environment, in order to solve the heavy burden on a single node caused by a large number of request inputs, a load balancing method is generally used to allow multiple remote service nodes to 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): G06F9/54G06F9/50G06F9/48
CPCG06F9/4881G06F9/505G06F9/547
Inventor 范灿升黄文辉韩柳祝大裕廖健
Owner 中邮消费金融有限公司
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