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

A Distributed Transaction Guarantee Method for In-Memory Data Grid

A technology of distributed transactions and in-memory data, applied in the field of distributed transaction assurance for in-memory data grids and distributed transaction assurance, can solve problems such as inability to resolve transaction conflicts, inability to meet transaction assurance requirements of OLTP applications, and avoid single Node bottlenecks, avoiding communication costs, and reducing costs

Active Publication Date: 2016-07-06
北京达梦数据库技术有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is to change distributed transactions into local transactions, which is suitable for long transaction scenarios and cannot resolve transaction conflicts
The above work is suitable for application systems with weak data consistency requirements, and cannot meet the transaction guarantee requirements of OLTP applications

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 Distributed Transaction Guarantee Method for In-Memory Data Grid
  • A Distributed Transaction Guarantee Method for In-Memory Data Grid
  • A Distributed Transaction Guarantee Method for In-Memory Data Grid

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in detail below in conjunction with specific operational features and accompanying drawings.

[0030] The whole process that the present invention implements is as image 3shown. The first is service node selection, that is, after the client sends a transaction request, the memory data grid first selects the corresponding service node for the transaction. Then the transaction is started, and the service node is used as the transaction coordinator, and information such as the client's source address and thread ID is used to create and save the transaction context and transaction ID for the transaction request. Then enter the first phase of the two-phase commit protocol of the memory data grid to perform data operations. Finally, enter the second phase of the two-phase commit protocol of the memory data grid, and perform transaction commit or transaction rollback.

[0031] On the basis of the above process, the specific implement...

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

A distributed transaction guarantee method for in-memory data grids. First, service nodes are selected, that is, after the client sends a transaction request, the in-memory data grid first selects the corresponding service node for the transaction; then the transaction starts, and the As a transaction coordinator, the service node uses information such as the client's source address and thread ID to identify and save the transaction context and transaction ID for the transaction request. Then enter the first phase of the two-phase commit protocol of the memory data grid. After performing data operations, enter the second phase of the two-phase commit protocol of the memory data grid to perform transaction commit or transaction rollback. The present invention adopts multiple transaction coordinators, avoids single-node bottleneck, and does not need to remotely call a third-party transaction manager, thereby avoiding additional communication costs and reducing the costs of transaction coordination and transaction state maintenance.

Description

technical field [0001] The invention relates to a distributed transaction guarantee method, in particular to a distributed transaction guarantee method oriented to a memory data grid, and belongs to the field of software technology. Background technique [0002] Online transaction processing (OLTP, Online Transaction Processing) refers to the processing of real-time tasks with transactions as the basic operating unit through infrastructure such as information systems, computer networks, and databases. figure 1 Describes the traditional operating environment of traditional online transaction processing applications. According to the different functions of the modules, it can be divided into display layer, business layer and data layer. The front-end adopts cluster technology and consists of load balancer, web server and application server. In the back end, distributed cache is usually used to speed up data reading. Distributed cache is a simple memory key-value pair storage...

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): G06F17/30
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