Unlock instant, AI-driven research and patent intelligence for your innovation.

Remote procedure call request control method and device

A technology of remote procedure call and request control, applied in the direction of transmission system, electrical components, etc., can solve the problems of prolonging the time interval of retries, uselessness, etc., to reduce the probability of continued decline or even unavailability, improve the success rate, guarantee Effects of System Availability

Active Publication Date: 2019-01-15
ALIBABA GRP HLDG LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, even if the "backoff" mechanism in the existing technology is used, even if the time interval between retries is extended, it may not help

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 procedure call request control method and device
  • Remote procedure call request control method and device
  • Remote procedure call request control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0117] Corresponding to the first embodiment above, this embodiment of the present application also provides a remote procedure call (RPC) request control method, see Figure 7 , the method can include:

[0118] S701: Counting the ratio of whether the RPC request is successful;

[0119] Specifically, the success ratio may include failure rate, success rate and so on. During specific implementation, the ratio of whether the RPC request is successful within a preset period can be counted.

[0120] S702: Adjust the timeout time of the RPC request.

[0121]During specific implementation, the timeout period of the RPC request may be adjusted based on the relationship between the ratio and the preset threshold. For example, if the failure rate reaches a preset first threshold, or the success rate is lower than a preset second threshold, the timeout period of the RPC request may be extended and adjusted. Of course, in other implementation manners, if the failure rate is lower tha...

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 embodiment of the present application discloses a remote procedure call request control method and device, wherein the method includes that a client calculates the failure rate or success rate ofa remote procedure call (RPC) request; if the failure rate reaches a preset first threshold or the success rate is lower than a preset second threshold, extending the timeout period of the RPC request; for a RPC request sent after the adjustment is completed, determining whether the RPC request succeeds by using the adjusted timeout period. The method in the embodiment of the present application,while ensuring the availability of a system, can reduce the probability that a system service capability continues declining or even is unavailable.

Description

technical field [0001] The present application relates to the technical field of remote procedure call, in particular to a remote procedure call request control method and device. Background technique [0002] RPC (Remote Procedure Call Protocol, Remote Procedure Call Protocol) is a protocol for requesting services from remote computer programs through the network. The protocol adopts the client / server model, the requesting program is a client, and the service provider is a server. First, the client calling process sends a call message with process parameters to the service process, and then waits for a reply message. On the server side, the process stays asleep until the call message arrives. When a call message arrives, the server obtains the process parameters, calculates the result, sends a reply message, and the client calls the process to receive the reply message and obtains the process result. [0003] For example, in a sales platform system, consumer users browse...

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): H04L29/08H04L29/06
CPCH04L67/62H04L67/60H04L67/133
Inventor 彭文文
Owner ALIBABA GRP HLDG LTD