Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A transaction eventual consistency guarantee method and system

A consistent and transactional technology, applied in response to error generation, redundant operation in data error detection, instrumentation, etc., can solve database throughput and performance requirements, low processing efficiency and other problems, and achieve final consistency. sexual effect

Active Publication Date: 2022-01-14
亚信科技(中国)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and system for guaranteeing eventual consistency of transactions to solve the problem of excessively frequent scheduled polling operations in the prior art in high concurrency scenarios, which have a high impact on database throughput and performance. requirements, when the database cannot meet the requirements, resulting in low processing efficiency

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
  • A transaction eventual consistency guarantee method and system
  • A transaction eventual consistency guarantee method and system
  • A transaction eventual consistency guarantee method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein...

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 provides a method for guaranteeing eventual consistency of a transaction, which includes: detecting the application scenario to which the target transaction belongs; when the target transaction belongs to the synchronous call application scene, analyzing the abnormal type in the synchronous call application scene, and determining and The rollback operation corresponding to the exception type guarantees the final consistency of the target transaction; when the target transaction belongs to an asynchronous call application scenario, ensure the idempotence requirements and retry mechanism in the asynchronous call application scenario to ensure The eventual consistency of the target transaction. The above methods set rollback operations for the type of exception for synchronous application scenarios, and set idempotent or retry operations for asynchronous application scenarios to achieve consistency. Polling is not required to ensure consistency. It avoids too frequent scheduled polling operations in high-concurrency scenarios, which have high requirements for database throughput and performance. When the database cannot meet the requirements, it will lead to low processing efficiency.

Description

technical field [0001] The invention relates to the technical field of mobile service support, in particular to a method and system for guaranteeing eventual consistency of transactions. Background technique [0002] In a distributed transaction scenario, transaction participants, transaction-supporting servers, resource servers, and transaction managers are located on different nodes of different distributed systems. Therefore, in order to ensure the effective progress of distributed transaction processes, by obtaining The local message is used to achieve the final consistency of the transaction. The local message is to split the distributed transaction into a series of local transactions. Through regular polling, the local message in the database is checked, and when new data is found, the other party is notified. [0003] The inventor researched the existing methods for guaranteeing the final consistency of transactions and found that in high concurrency scenarios, too fr...

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 Patents(China)
IPC IPC(8): G06F11/14G06F16/27
CPCG06F11/1438
Inventor 薛浩
Owner 亚信科技(中国)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products