Distributed key value database system with strong consistency and read-write method thereof

A distributed key-value and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as weak consistency, non-active and standby protocols, and large Bigtable overhead, achieving low system overhead and strong performance. The effect of consistency

Active Publication Date: 2013-08-28
HUAZHONG UNIV OF SCI & TECH
View PDF6 Cites 70 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

One solution is to adopt the master-standby copy protocol, but the master-standby protocol is not a good solution, it is difficult to guarantee the consistency between copies and the availability of the system when two nodes fail; in the system there are 3 When the number of replicas is greater than or equal to 1, the paxos protocol is proven to be the only protocol that can guarantee strong consistency of replicas. For a system with 2F+1 replicas, the paxos protocol can tolerate failure of F nodes, making the system highly available
[0005] The above typical solutions have the following defects: poor consistency, or lead to high overhead
Amazon's Dynamo can only provide final consistency between replicas. When data inconsistencies between different replicas occur, complex conflict avoidance and resolution mechanisms need to be used; Google's Bigtable can provide strong consistency of replicas and support single-operation transactions, but Bigtable relies on the GFS file system, and Bigtable has a lot of overhead when processing transaction operations; Yahoo's PNUTS provides weak consistency guarantees, and it focuses on replica consistency across data centers

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 key value database system with strong consistency and read-write method thereof
  • Distributed key value database system with strong consistency and read-write method thereof
  • Distributed key value database system with strong consistency and read-write method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0049] like figure 1 As shown, the distributed key-value database system of the present invention includes a client 1 and a data server cluster, the client 1 includes a hash module 11, a positioning module 12 and a forwarding module 13, and the data server cluster includes a plurality of data intervals, each data The interval includes a master node 3 and multiple slave nodes 4. The master node 3 includes a first read module 31, a write module 33, a first recovery module 34, a first log module 35, a first resolution module 36, and a first storage engine module. 37. The slave node 4 includ...

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 discloses a distributed key value database system, which comprises a client end and a data server cluster, wherein the client end comprises a Hash module, a positioning module and a forwarding module; the data server cluster comprises a plurality of data intervals; each data interval comprises a host node and a plurality of slave nodes; the host node comprises a first read module, a write module, a first recovery module, a first log module, a first decision module and a first storage engine module; the Hash module is used for receiving a write request sent from a client, and positions the write request to the data intervals according to a key of the write request; each write request is provided with a number distributed by a system automatically; the positioning module is used for positioning the write request to the host nodes of the data intervals; and the forwarding module is used for sending the write request to the write module of the main node. According to the distributed key value database system, strong consistency between data copies is provided under the condition of smaller expenditure.

Description

technical field [0001] The invention belongs to the technical field of databases and data storage, and more specifically relates to a strongly consistent distributed key-value database system and a reading and writing method thereof. Background technique [0002] With the advent of the digital age, data information is showing an explosive growth trend. Especially with the advent of the web2.0 era in recent years, the emergence of large-scale Internet applications and the rise of cloud storage, a large amount of unstructured data has accumulated, and these applications have gradually expanded their storage requirements to exceed the traditional enterprise database. Manageable data capacity. [0003] For this type of scenario, a successful solution is to use a distributed key-value (key-value) Nosql database combined with technologies such as compression and partitioning to improve data compression efficiency and storage scale. Typical distributed key-value Nosql databases i...

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 HUAZHONG UNIV OF SCI & TECH
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