Distributed storage cache reading and writing method

A technology of distributed storage and distributed hash table, applied in input/output to record carrier, input/output process of data processing, instruments, etc., can solve the impact of read performance, impact on read performance, limited write performance, etc. problems, to achieve the effect of low maintenance cost, low software complexity, and reduced cross-node access

Active Publication Date: 2020-06-19
西安奥卡云数据科技有限公司
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2) The cache system will not cache the data of other nodes. For reading hot data, cross-node access is required, and the read performance is greatly affected.
[0006] 3) The read cache and write cache of the cache system are independent, which increases the complexity of the software; when reading data, it is necessary to read and write the cache first, and then read the read cache if it is unsuccessful, and then read the SSD POOL if it is unsuccessful. The path for reading is complicated. Multiple steps affect read performance
[0007] 4) Using SSD WAL cache as a persistence guarantee, the entire write performance is limited by the performance of SSD, and the write performance of the system is greatly affected
[0008] 5) The general-purpose distributed storage cache system is different for storage media such as HDD and SSD, and a set of solutions cannot be uniformly used
[0009] Due to the existence of the above defects, the data access time in the existing distributed storage system is long and the system performance is low

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 storage cache reading and writing method
  • Distributed storage cache reading and writing method
  • Distributed storage cache reading and writing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0038] The usual HDD cache processing flow and SDD cache processing flow in the prior art are summarized as follows:

[0039] General HDD storage write cache processing flow

[0040] Such as figure 1 As shown, it is the general HDD storage write cache processing flow. When the storage node receives the write IO operation of the business (Write IO in the figure), it will save a copy of the Write IO in the MemoryWrite Cache, and simultaneously record it in the form of a log to SSD WAL Cache and returns the successful completion of this write operation, this process is usually called the Write IO process.

[0041] Usually SSD Disk Cache is divided into two parts: SSD Write Cache and SSD Read Cache. The data in the MemoryWrite Cache will be sorted and reorganized and wait for the full score to be directly written to the SSD Write Cache in the ...

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 storage cache reading and writing method, which comprises the following steps of: receiving data objects to be written, allocating a cache space to each data object, and writing the data objects into the corresponding cache spaces; generating a corresponding data object fingerprint according to the data object, and allocating a storage node to the data objectfingerprint through the distributed hash table; when the storage node contains the current storage node, writing the data object into a disk of the current storage node; when the storage node does notcontain the current storage node, setting a local cache identifier for the data object fingerprint, and sending the data object to a remote storage node; by using the distributed caching method provided by the invention, a cache read-write unified entry is realized, the software complexity is low, the access time of the distributed storage system is reduced, and the system performance is improved.

Description

【Technical field】 [0001] The invention belongs to the technical field of computer storage, and in particular relates to a method for reading and writing a distributed storage cache. 【Background technique】 [0002] The storage system is developing in the direction of large-scale, distributed, and virtualized. Distributed storage systems have emerged as the times require. In distributed storage systems, cache systems have been introduced. Cache is defined as the system to process future data faster The storage capacity of the data retained by the request. Data stored in the cache is stored there because it is frequently accessed, or is a duplicate copy of data stored in another location. Caching essentially makes future access faster. [0003] The cache system of the current distributed storage system is mostly an intra-node cache, and business data is sent to the node through DHT or other discrete algorithms, and the node performs corresponding process processing after rece...

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
CPCG06F3/061G06F3/0626G06F3/0656G06F3/067
Inventor 熊江于超
Owner 西安奥卡云数据科技有限公司
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