Directory reading method of distributed storage system and client side

A distributed storage and client-side technology, applied in the information field, can solve the problems of poor application experience, long time consumption of directory reading operations, etc., and achieve the effect of speeding up the sending speed

Inactive Publication Date: 2017-12-19
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the current distributed storage system, there are more and more massive data, accompanied by large directories, and the number of files in a single directory reaches hundreds of thousands, millions or even tens of millions; due to the increasing amount of data, business The operation of reading the directory during access takes longer and longer, giving users a poor application 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
  • Directory reading method of distributed storage system and client side
  • Directory reading method of distributed storage system and client side
  • Directory reading method of distributed storage system and client side

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The core of the present invention is to provide a directory reading method of a distributed storage system, which is applied to the client of the distributed storage system, including: obtaining the reading request initiated by the business end for the target directory; determining the directory size of the target directory ; Judging whether the size of the directory exceeds a preset threshold, if so, initiate a corresponding read-ahead operation to the metadata server in the distributed storage system for some directory entries of the target directory, so as to retrieve the metadata from the Read the corresponding directory entry from the server and save it to the local cache; use the directory entry on the local cache to respond to the read request, if the current directory reading progress in the local cache meets the preset condition, Then initiate a read-ahead operation to the metadata server again for the remaining directory entries in the target directory until th...

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 provides a directory reading method of a distributed storage system and a client side. The method includes the steps of obtaining a reading request issued by a service side for a target directory, determining the directory size of the target directory, judging whether the directory size exceeds a preset threshold or not, if yes, issuing corresponding pre-reading operation to a metadata server in the distributed storage system for part of directory entries of the target directory so as to read the corresponding directory entries in the metadata server and storing the directory entries in a local cache, responding to the reading request through the directory entries in the local cache, and issuing the pre-reading operation to the metadata server again for the rest of directory entries in the target directory till the reading request is completely responded to if the current directory reading procedure in the local cache meets preset conditions. The scheme does not need waiting time, and thus the sending speed of the directory on the metadata server is increased.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a directory reading method and a client of a distributed storage system. Background technique [0002] In the contemporary era of rapid development of information technology, the amount of data is increasing, and distributed storage has also emerged as the times require. A distributed storage system stores data dispersedly on multiple independent devices. Traditional network storage systems use centralized storage servers to store all data. Storage servers become the bottleneck of system performance and the focus of reliability and security, which cannot meet the needs of large-scale storage applications. The distributed network storage system adopts a scalable system structure, uses multiple storage servers to share the storage load, and uses the location server to locate and store information. It not only improves the reliability, availability and access efficiency of the...

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/30H04L29/08
CPCG06F16/164G06F16/172G06F16/182H04L67/1097
Inventor 孟祥瑞
Owner ZHENGZHOU YUNHAI INFORMATION 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