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

RPC idempotent guarantee method and system

An idempotent, retrying technique used in the database field

Pending Publication Date: 2021-11-30
北京东方国信科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an RPC idempotence guarantee method and system to solve the defect in the prior art that only weak forms of RPC idempotence guarantees in point-to-point mode can be realized

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
  • RPC idempotent guarantee method and system
  • RPC idempotent guarantee method and system
  • RPC idempotent guarantee method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0048] In view of the limitations existing in the prior art, what the present invention needs to solve is the strongest formal guarantee of RPC idempotence in distributed large-scale concurrent systems, that is, how to provide a general mechanism to guarantee the semantics of RPC acting at least once Translates to exactly-once semantics, thus converting non-linear operations to linearizable o...

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 provides an RPC idempotence guarantee method and system. The method comprises: determining an identification information set executed by each RPC; based on the identification information set, obtaining and caching a result record executed by each RPC; obtaining a retry demand of each RPC, and matching a cached result record corresponding to the retry demand; and after receiving an execution completion response of each RPC, releasing an execution result record of each RPC. The RPC idempotent assurance method adopted by the invention is applied to the distributed large-scale concurrent system, so that the distributed large-scale concurrent system obtains the strongest form of RPC idempotent assurance, and meanwhile, the lightweight of the RPC idempotent assurance method is enough to be used in a low-delay environment.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to an RPC idempotency guarantee method and system. Background technique [0002] At present, under the distributed service framework, there are many wrong RPCs (Remote Procedure Call, remote procedure call) that need to be handled. When RPC needs to be retried at the same or different place due to request timeout or network failure, but usually RPC is idempotent The mechanism of idempotency guarantee can only guarantee the weaker form of RPC idempotence guarantee of point-to-point. [0003] In the prior art, there is no relevant research on the strongest formal guarantee for the idempotence of large-scale concurrent systems under the distributed service framework. [0004] Therefore, it is necessary to propose an RPC idempotency guarantee method that can realize the strongest form for the distributed service framework. Contents of the invention [0005] The present invention p...

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/50
CPCG06F9/547G06F9/5022
Inventor 刘菲董隆超陈兴利孙莎莎
Owner 北京东方国信科技股份有限公司