Distributed transaction security method for memory data grid

A distributed transaction and in-memory data technology, which is applied in the field of distributed transaction guarantee and distributed transaction guarantee for in-memory data grids. Node bottlenecks, avoiding communication costs, and reducing costs

Active Publication Date: 2013-12-25
北京达梦数据库技术有限公司
View PDF2 Cites 34 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
  • Distributed transaction security method for memory data grid
  • Distributed transaction security method for memory data grid
  • Distributed transaction security method for 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 security method for a memory data grid includes the steps that first, a service node is selected when a client sends a transaction request, and the memory data grid selects a corresponding service node for the transaction for the first time; second, the transaction request is created, and a transaction context and transaction ID (identification) are saved with the service node as a transaction coordinator and information of a client's source address, thread ID and the like as identification, so that the transaction is started; then comes data manipulation belonging to the first stage of a two-phase commit protocol of the memory data grid, and transaction commit or rollback belonging to the second stage of the two-phase commit protocol of the memory data grid succeeds. The distributed transaction security method for the memory data grid employs a plurality of transaction coordinators, and thus, bottleneck due to a single node is avoided, remote call of a third-party transaction manager is no need, additional communication costs are avoided, and costs of transaction coordination and maintenance of transaction state are reduced in the meantime.

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 information systems, computer networks, databases and other infrastructure. 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 s...

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): G06F17/30
Inventor 黄涛钟华魏峻王伟赵鑫刘朝辉
Owner 北京达梦数据库技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products