Disaster recovery method and device for service remote calling

A remote call and device technology, applied in the computer field, can solve problems such as service unavailability for a long time and request failure, so as to improve the ability of retry and improve the effect of caching

Pending Publication Date: 2020-06-09
SHANGHAI JUNZHENG NETWORK TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned defects of the prior art, an object of the present application is to provide a disaster recovery method and device for service remote invocation to solve the problems caused by a large number of request failures and long-term service unavailability in the prior art, thereby improving Ability to cache requests and retry when a large number of requests fail

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
  • Disaster recovery method and device for service remote calling
  • Disaster recovery method and device for service remote calling
  • Disaster recovery method and device for service remote calling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The following describes several preferred embodiments of the present application with reference to the accompanying drawings, so as to make the technical content clearer and easier to understand. The present application can be embodied in many different forms of embodiments, and the protection scope of the present application is not limited to the embodiments mentioned herein.

[0065] In the drawings, components with the same structure are denoted by the same numerals, and components with similar structures or functions are denoted by similar numerals. The size and thickness of each component shown in the drawings are arbitrarily shown, and the application does not limit the size and thickness of each component. In order to make the illustration clearer, the thickness of parts is appropriately exaggerated in some places in the drawings.

[0066] Such as figure 1 As shown, an embodiment of an aspect of the present application provides a schematic flowchart of a disast...

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 discloses a disaster tolerance method and device for remote service calling. The method comprises the steps: building a remote calling connection between a client and a server, and initiating a calling request to the server when the remote calling needs to be initiated to the server; if calling fails, when it is detected that the current retry frequency in the message corresponding to the calling request is smaller than the preset maximum retry frequency, the calling request is packaged into an updated message, and 1 is added to the current retry frequency; and sending the updated message to an external request delay queue for caching, and after the preset retry condition is satisfied, forwarding to initiate a retry call request to the server, thereby realizing caching of thecall request corresponding to the call failure, not only improving the caching of the call request when a large number of request failures occur at the same time, but also improving the capability ofretrying the call request.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a disaster recovery method and equipment for remote invocation of services. Background technique [0002] Service remote invocation increases the uncertainty of service invocation because it involves network transmission and third-party services. Remote calls fail when network congestion occurs or third-party services are unavailable. In order to solve the problem of remote call failure, there are the following two commonly used disaster recovery methods in the prior art: [0003] (1) The client retries. In the disaster recovery method of client retry, the client node locally initiates the scheduled task retry call. In the disaster recovery method of client retry, due to the limitation of local memory space, the number of tasks in the retry queue is limited; when there are a large number of call failures at the same time, the local retry queue will expand rapidly, ...

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/54
CPCG06F9/547G06F9/546
Inventor 杨磊姜元龙邢益伟
Owner SHANGHAI JUNZHENG NETWORK 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