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

A technology of self-adaptive load and remote invocation, applied in the field of information systems, can solve the problems of increasing service response time, extending RPC call link, and lengthening response time, and achieves the effect of rational utilization of resources

Active Publication Date: 2021-10-29
中邮消费金融有限公司
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, system and computer equipment
  • Remote call adaptive load balancing method, device, system and computer equipment
  • Remote call adaptive load balancing method, device, 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 calling self-adaptive load balancing method, device, system and computer equipment to ensure the most reasonable utilization of the resources of the entire cluster. The remote call self-adaptive load balancing method provided by the present invention includes the following steps: obtaining and updating the load information of each service node; and sending an RPC request according to the load information. The remote call self-adaptive load balancing method provided by the present invention can obtain the load information of each service node, can guarantee to understand the load status of each service node, and send an RPC request to the service node according to the obtained load information, so as to achieve a better performance in the service node. Select the appropriate service node to provide services in time to avoid service shortcomings, so that the resources of the entire RPC cluster can be used reasonably.

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 Patents(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