Distributed transaction processing method and system

A technology of distributed transactions and processing methods, applied in the field of distributed transaction processing methods and systems, which can solve problems such as transaction operation failure, performance degradation, and increased response time, and achieve the effect of avoiding stagnation

Active Publication Date: 2016-08-03
ALIBABA GRP HLDG LTD
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In traditional database-based distributed transactions, the transaction availability is the product of the availability of the database instances participating in the transaction. As long as one instance fails, the transaction operation will fail.
In addition, traditional distributed transactions require multiple network interactions with multiple database instances to achieve two-phase commit, which increases the response time of requests and degrades performance

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 transaction processing method and system
  • Distributed transaction processing method and system
  • Distributed transaction processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0022] The first embodiment of the present invention relates to a distributed transaction processing method. figure 1 is a schematic flowchart of the distributed transaction processing method. Such as figure 1 As shown, the distributed transaction processing method includes the following steps:

[0023] In step 101, the message middleware deliv...

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 present invention relates to the transaction processing technology, and discloses a distributed transaction processing method and system. A message-oriented middleware delivers a message to at least one node participating in the distributed transaction to enable the node to execute the local transaction, if the at least one node is failed to execute the local transaction, before nodes failed in execution execute the local transaction, the message-oriented middleware delivers the message to the node again to enable the node to execute the local transaction again, and therefore final consistency of data is achieved. In addition, stagnation caused by the problem that the network is blocked or the message-oriented middleware is abnormal can be prevented by regularly checking status of the nodes.

Description

technical field [0001] The invention relates to transaction processing technology, in particular to a distributed transaction processing method and system thereof. Background technique [0002] The traditional implementation of distributed transactions has the characteristics of requiring the database to provide distributed transactions. Based on the two-phase commit protocol, when each database instance operates successfully, the transaction is considered successful; if one instance fails, the operations of all instances must be rolled back. [0003] Therefore, the inventors of the present invention have found that implementing distributed transactions through a database will lead to a decrease in availability, scalability and performance. In traditional database-based distributed transactions, the transaction availability is the product of the availability of the database instances participating in the transaction. As long as one instance fails, the transaction operation ...

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): G06F17/30
Inventor 林清山
Owner ALIBABA GRP HLDG 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