Unlock instant, AI-driven research and patent intelligence for your innovation.

Cache reading method and device for distributed storage and computer readable storage medium

A distributed storage and read cache technology, applied in the input/output process of computing, data processing, instruments, etc., can solve the problems of pre-reading failure, adverse user experience, affecting front-end reading performance, etc., to improve user experience, The effect of enhancing stability

Inactive Publication Date: 2018-11-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the traditional read cache mechanism in the distributed storage system is only designed for general situations. If the read files are not read in complete order, the pre-read will fail, affecting the front-end read performance and not conducive to user experience.

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
  • Cache reading method and device for distributed storage and computer readable storage medium
  • Cache reading method and device for distributed storage and computer readable storage medium
  • Cache reading method and device for distributed storage and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0041] Please refer to figure 1 , figure 1 It is a flowchart of a read cache method for distributed storage provided by an embodiment of the present invention. The method can include:

[0042] Step 101: After obtaining the current read request, extract and record the current read offset of the file corresponding to the current read request...

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 cache reading method and device for distributed storage and a computer readable storage medium. The method comprises the steps that after a current reading request is acquired, current reading offset of a file corresponding to the current reading request is extracted and recorded; if the file corresponding to the current reading request is identical to a file corresponding to a last reading request, whether the current reading offset is within a threshold range corresponding to last reading offset is judged; and if yes, pre-reading is initiated. According to the method, by judging whether the current reading offset is within the threshold range corresponding to the last reading offset, judgment conditions for triggering pre-reading are expanded, normal pre-readingcan be performed in case of an incompletely sequential reading scene, the stability of front-end reading performance is enhanced, and user experience is improved.

Description

technical field [0001] The present invention relates to the field of distributed storage applications, in particular to a distributed storage read cache method, device and computer-readable storage medium. Background technique [0002] With the development of science and technology in modern society, distributed storage systems that store data in multiple independent devices based on the network have been widely used. In a distributed storage system, in order to improve the read and write performance of the front-end client, the concept of cache is introduced in the system design, and an area in the memory is divided to accommodate the issued read and write request data, especially for read operations. The data pre-read from the back-end storage can improve the cache hit rate and greatly improve the read performance. [0003] In the existing technology, the traditional read cache mechanism in the distributed storage system is only designed for general situations. If the rea...

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): G06F3/06
CPCG06F3/061G06F3/0656G06F3/067
Inventor 魏盟
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD