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

Distributed transaction implementation method and system

A distributed transaction and implementation method technology, applied in the field of distributed transaction implementation methods and systems, can solve problems such as slowing down the execution speed and many IO times, and achieve the goal of ensuring security, reducing read and writing operations, and improving execution efficiency. Effect

Pending Publication Date: 2022-03-25
上海沄熹科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The disadvantage is that every step of the operation needs to be written to the disk, and other distributed transactions need to read the disk to know whether there is a conflict, and the number of IOs is large, which slows down the execution speed

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] 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 embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but 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 creative efforts shall fall within the protection scope of the present invention.

[0053] The implementation method of the distributed transaction adopts the distributed lock of the resident memory to save the data in the process of the distributed transaction, and realizes the isolation of the distributed transaction; the distributed lock is stored in the lock table of the resident memory, so that Find and modify; multiple server nodes re...

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 particularly relates to a distributed transaction implementation method and system. According to the distributed transaction implementation method and system, the distributed lock of the resident memory is adopted to store data in the distributed transaction processing process, and isolation of the distributed transaction is achieved; the distributed lock is stored in a lock table of a resident memory for searching and modifying; the synchronization of data and locks is realized among a plurality of server nodes through a consensus algorithm, so that the consistency of distributed transactions is ensured; the integrity and durability of the distributed transactions are ensured through the transaction logs; in addition, in order to reduce the IO frequency, the disk is not read and written except for new value reading and final submission. According to the distributed transaction implementation method and system, the performance advantages of the memory are fully utilized, the read-write operation of the disk is reduced, the execution efficiency of the distributed transaction is improved, meanwhile, the safety of the distributed transaction is guaranteed, and the requirements for atomicity, consistency, isolation and durability of the distributed transaction are met.

Description

technical field [0001] The invention relates to the technical field of distributed databases, in particular to a method and system for realizing distributed transactions. Background technique [0002] The current scale of the Internet is huge, and a large amount of new data is generated every moment, and there are also a large number of requests to access old data. The newly generated data needs to be saved in the database in time, and a large amount of data is also read out at the same time. Therefore, the database must also take into account high-frequency reading while supporting high-frequency writing. [0003] In addition, data security is also very important. While providing powerful read and write capabilities, the database also needs to ensure data consistency and integrity. When a failure causes the server to go down or even be damaged, it is necessary to protect or restore data to prevent data loss. At the same time, it must have good scalability to ensure that ...

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): G06F16/23G06F16/22
CPCG06F16/2343G06F16/2365G06F16/2246G06F16/2255
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