Elastic key-value key-value pair data storage method based on rdma and htm

A data storage and key-value pair technology, applied in the direction of electrical digital data processing, electrical components, transmission systems, etc., can solve the problems of undesigned data cache storage, performance degradation, write amplification, etc., to speed up data access and result transmission, The effect of high throughput and reduced latency

Active Publication Date: 2020-11-24
SHANGHAI JIAO TONG UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage is that the query efficiency is high; the disadvantage is that a large number of random writes can easily cause node fragmentation, resulting in performance degradation
(2) Based on Hash table implementation, such as Redis, the advantage of Hash table-based implementation is high query efficiency, but the disadvantage is that it cannot support range query. When a large number of Hash value collisions occur, the reading and writing efficiency will decrease.
(3) Implementation based on Log-Structured-Merge tree (LSM tree), such as levelDB, which has the advantage of high write performance, but the disadvantage of poor read performance and easy to cause serious write amplification
[0010] Generally speaking, the elastic Key-Value key-value pair data storage method based on RDMA and HTM lacks strong software and program support such as high-performance data transmission network protocols, hardware transaction memory management that guarantees the atomic nature of data operations, etc.; On the other hand, there are still problems such as low efficiency of data management mode, no design of data cache to store recently accessed data, poor data consistency mechanism, etc., and the degree of parallelism of data operations needs to be further improved

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
  • Elastic key-value key-value pair data storage method based on rdma and htm
  • Elastic key-value key-value pair data storage method based on rdma and htm
  • Elastic key-value key-value pair data storage method based on rdma and htm

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0115] A specific embodiment of the present invention is as follows:

[0116] The key implementations and software interfaces of the elastic Key-Value key-value pair storage system based on RDMA and HTM include:

[0117] (1) Software interface abstraction. The system provides basic operation interfaces for users to use. These interfaces include the value setting function rhkv_set, the value obtaining function rhkv_get and the value updating function rhkv_update, and so on.

[0118] The low-level details provided by the software interface are described as follows: For the function rhkv_get, the key parameter m is passed to the hash function Hash through the Infiniband network. The abstract function calculates two candidate positions by mask operation, finds the actual value of the hash table, and returns the final result. For the function rhkv_set, the actual process may be more complicated. Specifically, the function first finds the key value entry in the cache stash. If th...

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 an elastic Key-Value key-value pair data storage method based on RDMA and HTM, the design follows the server-client architecture mode, including: on the server side, an improved G-Cuckoo is provided in combination with a hash graph Hash data management mode, avoiding the problem of kick-out infinite loop between hash tables caused by searching for free positions during data insertion; analyzing the traditional network transmission of messages between the client and the server that requires back and forth round responses Key-value pair storage performance bottleneck problem, use Infiniband remote direct memory access RDMA technology, design RDMA network communication engine, receive data access requests and send back data request results; use hardware transactional memory HTM technology, realize two-stage lock protocol lock operation, guarantee Atomic characteristics of data operations; using key-value pairs for data self-verification check codes to ensure data consistency. The implementation of the present invention can greatly improve the basic operation speed of key-value pair data.

Description

technical field [0001] The invention belongs to the field of computer systems and data storage systems, in particular to an elastic Key-Value key-value pair data storage method based on RDMA and HTM, which can provide fast and scalable data services. Background technique [0002] At this stage, the demand for data-intensive computing is increasing day by day, and the data provided for data-intensive computing are generally stored in storage systems. In addition to storage systems such as relational databases, more and more key-value storage systems are emerging, which can also meet the needs of fast data access. For key-value storage systems, how to obtain low latency and high throughput of data access has become a topic worthy of in-depth study and discussion. [0003] In a distributed cluster environment, it is often necessary to carry out remote data access to key-value storage systems through traditional networks. In this case, both the server side responsible for data...

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): G06F13/28H04L29/06
CPCG06F13/28H04L67/01G06F16/2255
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