RDMA and HTM based distributed optimistic concurrency control method

A control method and distributed technology, applied in the direction of multi-programming device, transaction processing, etc., can solve the problems that cannot be determined in advance, can only be known at runtime, increase the workload of transaction writers, and support limitations of transactions, etc. Achieve the effect of ensuring atomicity and isolation, good scalability, and making up for limitations

Active Publication Date: 2016-09-21
SHANGHAI JIAO TONG UNIV
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the control method using two-stage locks makes good use of two hardware technologies and achieves better performance, its disadvantages are: 1. The data set to be accessed needs to be known in advance before the transaction starts, which not only increases the transaction writing time; The workload of personnel, and for a type of transaction whose data set cannot be pre-determined and only known at runtime, this method becomes infeasible; 2. Existing HTM hardware (such as Intel's RTM) usually has no The size of the set is limited, so the existing method needs to pre-segment the transactions exceeding the limit size in the implementation. The segmentation of the transaction itself is a very complicated task, especially in the case of complex transaction logic, how to correctly Splitting the transaction itself puts extremely high demands on the writers, and for a class of transactions that cannot be split itself, this method also becomes unfeasible
[0004] Therefore, although the existing work uses two hardware technologies to realize distributed concurrent transaction control, it has great limitations in transaction support.

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
  • RDMA and HTM based distributed optimistic concurrency control method
  • RDMA and HTM based distributed optimistic concurrency control method
  • RDMA and HTM based distributed optimistic concurrency control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described below in conjunction with each accompanying drawing. Each drawing is based on an example of the concept of the present invention, which aims to help those skilled in the art to further understand the present invention, and does not limit the present invention in any form. It should be pointed out that those skilled in the art can make some changes and improvements without departing from the concept of the present invention, and construct other software implementations based on the concept of the present invention, which all belong to the scope of the present invention. protected range.

[0044] The present invention designs a distributed optimistic concurrency control method based on RDMA and HTM. It is based on RDMA and HTM hardware and adopts a hybrid mechanism of optimistic concurrency control and lock protection. Next, complete the concurrency control of distributed memory computing.

[0045] The concurrency control ...

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 RDMA and HTM based distributed optimistic concurrency control method, which do not have to acquire a data set of transaction access in advance and do not have to segment a transaction in advance. The control method divides operation of the transaction into two stages: an execution stage and a submission stage. An optimistic concurrency control method and a lock protection method are combined, a read-write set is dynamically maintained during the execution stage of the transaction, and then pre-acquisition of the data set of the transaction can be avoided; Verification is performed and then submission is performed in the submission stage of the transaction, and in this way, pre-segmentation of the transaction can be avoided. Through RDMA and HTM based hardware simplification concurrency control method and decentralization distributed design, the RDMA and HTM based distributed optimistic concurrency control method has excellent expansibility, can conveniently adjust the number of machines according to the demands, and can provide a common feasible solution scheme for high efficient processing of super-large scale concurrent transactions.

Description

technical field [0001] The invention relates to transaction concurrency control in a distributed multi-core memory computing environment, in particular to a distributed optimistic concurrency control method based on RDMA and HTM. Background technique [0002] Distributed multi-core memory computing provides convenience for processing ultra-large-scale concurrent transactions, and its core lies in efficient and general transaction concurrency control methods. Hardware Transaction Memory HTM (Hardware Transaction Memory) and Remote Memory Direct Access RDMA (Remote Direct Memory Access) are two new hardware technologies. The former (HTM) provides hardware support for single-machine transaction concurrency control, which is easy for developers to use and has the advantages of high performance, but it is limited to a single-machine environment. The latter (RDMA) provides hardware support for accessing the memory of the remote machine by the network card, bypassing the processor...

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/46
CPCG06F9/467
Inventor 陈榕陈海波臧斌宇陈彦哲
Owner SHANGHAI JIAO TONG UNIV
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