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

Distributed consistency transaction execution method based on retry mechanism

An execution method and consistency technology, applied in the field of distributed consistent transaction execution based on the retry mechanism, can solve problems such as difficult implementation, strong intrusion, and strong application intrusion, so as to improve self-recovery ability and stability Sexuality and cost reduction effect

Pending Publication Date: 2022-03-11
SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main disadvantages of the first solution are: 1. It is only applicable to the situation where there is only one other system service call, and it is not enough to call multiple other system services; 2. It is not applicable when the service call times out
[0006] The main disadvantages of the second solution are: 1. Strong intrusion to the application
Each branch of the business logic needs to implement three operations: try, confirm, and cancel. The application is highly intrusive and the transformation cost is high.
2. It is more difficult to realize

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
  • Distributed consistency transaction execution method based on retry mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Below in conjunction with accompanying drawing and concrete implementation example , the present invention will be described in detail.

[0023] This embodiment provides a method for executing a distributed consistent transaction based on a retry mechanism.

[0024] Among them, distributed transactions are divided into strong consistency and weak consistency. According to the CAP theory in a distributed system, the three elements of consistency (Consistency), availability (Availability) and partition tolerance (Partition Tolerance) can only be satisfied at the same time. Two, cannot have both. Among them, partition tolerance is indispensable. Therefore, for the sake of usability and combined with the actual business, we can tolerate a period of actual inconsistency for some business scenarios, as long as the business finally meets the consistency. For example, in the scenario of using coupons when paying for an e-commerce order, because the coupons have been frozen ...

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 distributed consistency transaction execution method based on a retry mechanism, which comprises the following steps: S1, when an exception occurs, reporting retry data at an exception point; writing the received retry data into a retry queue; automatically scanning the retry data needing to be retry in the retry queue to perform automatic retry execution; and S2, when the automatic retry execution is successful, retry data dequeue is carried out, and when the automatic retry execution is failed, the next retry time is updated. According to the invention, a relatively intelligent retry strategy is realized, so that the self-recovery capability of the service system is supplemented, and the stability of the service system can be improved; a visual operation interface is provided for abnormal data needing to be manually confirmed, and the problem processing cost is reduced; fine monitoring and alarming are carried out at a retry point; and the place where the abnormity occurs can be basically corresponded through re-commissioning, so that the troubleshooting efficiency can be improved.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a distributed consistent transaction execution method based on a retry mechanism. Background technique [0002] In a distributed environment, most of our systems do not exist alone, and interdependence between systems is the norm. [0003] From a macro perspective, distributed "dependence" not only increases the overall complexity of the system, but also increases the probability of system problems. For example: when placing an order, the call to the payment system is successful, but the final addition of goods times out; when a serious system problem occurs in the downstream service that the business system depends on, the business is affected for a period of time. System problems will eventually be reflected in data consistency. [0004] There are two main technical solutions currently used: the first one is to call other system services first and then call the local service ...

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): G06F11/14G06F11/34G06F9/46G06F9/54
CPCG06F11/1415G06F9/466G06F9/547G06F11/3452G06F11/3476
Inventor 李恺何柄融许煜彬王伟
Owner SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD