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

Distributed transaction implementation method and device based on SAGA

A technology of distributed transactions and implementation methods, which is applied in the field of computer software and can solve problems such as high pressure on server performance

Pending Publication Date: 2022-04-12
POSBANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of this application is to provide a SAGA-based distributed transaction implementation method, device, computer-readable storage medium and processor to solve the problem in the prior art that the independent deployment of the transaction coordinator causes high pressure on server 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 implementation method and device based on SAGA
  • Distributed transaction implementation method and device based on SAGA
  • Distributed transaction implementation method and device based on SAGA

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0024] It should be noted that the terms "first" and "second...

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 a distributed transaction implementation method and device based on SAGA. The method comprises the steps that an SAGA transaction coordinator is bound with a composite service to obtain a bound composite service, and the SAGA transaction coordinator is used for coordinating distributed transaction related layer operation of the composite service and plays a role in monitoring transactions; and executing the distributed transaction by adopting the binding combination service. The SAGA transaction coordinator is bound with the combined service to obtain the bound combined service and execute the distributed transaction, and the transaction coordinator does not need to be deployed independently, so that the problem that when a large number of transactions occur, the transaction coordinator service is independently deployed is solved; the problem that the performance pressure of a transaction coordinator server is large due to the fact that each transaction needs to interact with the transaction coordinator is solved, and non-functional guarantees such as high availability and high performance of the transaction coordinator during independent deployment of the transaction coordinator do not need to be considered.

Description

technical field [0001] The present application relates to the field of computer software, in particular, to a SAGA-based distributed transaction implementation method, device, computer-readable storage medium and processor. Background technique [0002] Under the distributed microservice architecture, a transaction spans multiple applications, and each application holds its own database. How to ensure that the data under multiple application operations can all succeed or fail is a problem that needs to be solved in distributed transactions. Currently The distributed transaction framework of the mainstream SAGA model is servicecomb-saga. [0003] servicecomb-saga is a data final consistency solution for microservice applications. It is a framework based on 2PC and TCC. Simply put, it relies on the TCC method of the coordinator. alpha in servicecomb-saga acts as a coordinator, and is mainly responsible for persistent storage of transaction events and coordinating the status o...

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
IPC IPC(8): G06F9/46G06F16/23G06F16/27G06Q40/04
Inventor 黎育龙刘亮田健刘庆庆易剑
Owner POSBANK