Distributed system transaction management method and device
A distributed system and transaction management technology, which is applied in the field of distributed system transaction management methods and devices, can solve problems such as low processing efficiency, affect user experience, and low device performance, achieve high processing efficiency, maintain data consistency, and improve The effect of system performance
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2017-11-07
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a distributed system transaction management method and device. Background technique
[0002] A distributed system is a device built on the network. It can decompose a large and complex device into several small service nodes, and each node communicates with each other through remote calls. Share physical and logical resources and coordinate transactions. Due to the characteristics of high availability and high development, distributed systems are more and more favored by developers.
[0003] For traditional single-node network devices, due to single-node deployment, local transactions can be used for transaction management to ensure data consistency. However, for a distributed system, each service module has its own transaction management mechanism as an independent device. When a call between modules occurs, it must be solved because the caller executes abnormally and the ca...
Examples
Embodiment Construction
[0035] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
[0036] Please refer to figure 1 , a distributed system transaction management method provided by an embodiment of the present invention, comprising the steps of:
[0037] S10: When receiving the message sent by the active node, store the message and mark the status of the message as pending confirmation, and send the storage result of ...