Data storage method and system, electronic equipment and storage medium

A data storage and data sub-technology, applied in the direction of digital data processing, digital data information retrieval, special data processing applications, etc., can solve the problems of reducing the reading speed of small files, dragging down the performance of distributed storage clusters, and high reading delay

Active Publication Date: 2020-11-27
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Erasure codes can improve storage space utilization (for K+M redundancy, the actual available space is K / (K+M)), but the read delay is high, and it is generally used in large file scenarios, using pre-reading on the client side function to offset the read latency of the backend
In the scenario of mixed storage of large files and small files, if the number of storage nodes remains unchanged, the use of erasure codes will seriously reduce the reading speed of small files, and the blocking of a single request will drag down the entire distributed storage cluster performance, causing normal access to large files to become stuck

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 storage method and system, electronic equipment and storage medium
  • Data storage method and system, electronic equipment and storage medium
  • Data storage method and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] see below figure 1 , figure 1 It is a flow chart of a data storage method provided by the embodiment of this application.

[0057] Specific steps can include:

[0058] S101: Set the byte length of the erasure correction unit in the storage end;

[0059] Among them, this embodiment can be applied to a distributed storage system that uses era...

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 storage method. The data storage method comprises: setting the byte length of an erasure unit in a storage end; when a write creation request including a small file identifier is received, judging whether the length to be written is greater than the byte length of the erasure unit or not according to the write creation request; if so, calculating an erasure code of the to-be-written data and storing the erasure code in a corresponding disk; if not, packaging M+1 copy data writing sub-requests according to the to-be-written data, and packaging K-1 empty object creating sub-requests; and sending the copy data writing sub-request and the empty object sub-request to corresponding disks so as to write data. According to the invention, the data storage mode can beoptimized, and the data reading efficiency is improved. The invention further discloses a data writing system, electronic equipment and a storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of data storage, and in particular to a data storage method, a system, an electronic device, and a storage medium. Background technique [0002] In a distributed storage system, data redundancy can be achieved using erasure codes. Erasure codes can improve storage space utilization (for K+M redundancy, the actual available space is K / (K+M)), but the read delay is high, and it is generally used in large file scenarios, using pre-reading on the client side function to offset the read latency of the backend. In the scenario of mixed storage of large files and small files, if the number of storage nodes remains unchanged, the use of erasure codes will seriously reduce the reading speed of small files, and the blocking of a single request will drag down the entire distributed storage cluster performance, causing normal access to large files to become stuck. [0003] Therefore, how to optimize the dat...

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): G06F16/172G06F11/10
CPCG06F16/172G06F11/1012
Inventor 孔帅
Owner SUZHOU LANGCHAO INTELLIGENT 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