Data read-write method and distributed storage system

A technology for data reading and writing and distributed files, which is applied in file systems, special data processing applications, file access structures, etc., can solve problems such as high storage costs, system bottlenecks, and large resources, and save time for merging and searching. Performance-enhancing effects

Active Publication Date: 2016-01-20
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF4 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using the above-mentioned distributed storage system to store data, on the one hand, since the data in the sstable file is arranged in an orderly manner, it is necessary to frequently merge and sort each sstable file. For a large data length (such as a single data length Above

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
  • Data read-write method and distributed storage system
  • Data read-write method and distributed storage system
  • Data read-write method and distributed storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0019] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0020] Please refer to figure 1 , a schematic diagram of a system architecture applicable to the data reading and writing method of this application. exist figure 1 In , a client 101, a master server 102 (also called a Master server), a slice server 103 (also called a Unit...

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 data read-write method and a distributed storage system. A specific implementation way of the method comprises the following steps: receiving a processing request, including a data identification of fragment data on the fragment data, transmitted by a client by a fragment server; on the basis of a hash table, for indicating a corresponding relationship between the data identification of the fragment data and a data index, loaded to an internal memory in advance, processing the processing request to obtain a processing result; and transmitting the processing result to the client. Reading and writing of the data is achieved through the hash table loaded to the internal memory; the processing time of a reading request on the data is close to the ultimate performance of a distributed file system; and the time consumed by a writing request on the data is close to the time consumed for writing the distributed file system in an additional writing manner, so that the performance of the distributed storage system is improved; meanwhile, the data are stored only by the distributed file system; the distributed storage system has the reliability same as that of the distributed file system; and the reliability of the distributed storage system is improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to the field of distributed technology, especially to a method for reading and writing data and a distributed storage system. Background technique [0002] At present, for massive data in the network, a distributed storage system is usually used to store the massive data. In known distributed storage systems, sstable files are usually used to store data, and data is read through binary search in all sstable files. When using the above-mentioned distributed storage system to store data, on the one hand, since the data in the sstable file is arranged in an orderly manner, it is necessary to frequently merge and sort each sstable file. For a large data length (such as a single data length Above 1MB), in the case of completely random reading and high throughput, the sstable file merging process consumes a large amount of resources, resulting in a system bottleneck. On the other hand...

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): G06F3/06
CPCG06F16/9014G06F16/13G06F16/182G06F16/1805G06F16/90335
Inventor 刘健李栋梁高天行
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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