Supercharge Your Innovation With Domain-Expert AI Agents!

Metadata request processing method, device and equipment and readable storage medium

A request processing and metadata technology, applied in the storage field, can solve problems such as difficulty in improving the request processing speed, system freezes, and metadata server request processing speed limitations.

Active Publication Date: 2019-07-23
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the request processing speed of the metadata server is limited, and it is difficult to increase the request processing speed, which will cause the system to freeze and affect the 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
  • Metadata request processing method, device and equipment and readable storage medium
  • Metadata request processing method, device and equipment and readable storage medium
  • Metadata request processing method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053]It should be noted that, for the convenience of description, the first and second descriptors are used, and the first and second in this application only indicate the sequence, and the client, metadata request, response message and log information are preceded by Named as first or second, it is only used to distinguish them from different corresponding relationships. For example, the first client refers to the sender of the previous metadata request, the second client refers to the sender of the next metadata request, and the first client refers to the sender of the next metadata request. The client and the second client may be substantially the same client or different clients, and the first response message indicates that the response message has a corresponding relationship with the first metadata request.

[0054] Please refer to figure 1 , figure 1 It is a flowchart of a metadata request processing method in an embodiment of the present invention, and the method ca...

Embodiment 2

[0089] In order to facilitate those skilled in the art to better understand the method provided by the embodiment of the present invention, the method provided by the embodiment of the present invention will be described in detail below in combination with the prior art and specific application scenarios as examples.

[0090] Considering that there is no relationship between the log processing part and subsequent metadata processing, the granularity of metadata request processing can be subdivided into three processing stages: metadata processing, log write cache, and log cache full Flushing to the OSD uses pipelining for these three stages, resulting in faster metadata processing.

[0091]Among them, in the metadata request stage, the operations of accepting, searching, and modifying metadata are mainly performed, and relevant log information is generated at the same time. After these operations are performed, the next metadata request can be processed. Compared with other sy...

Embodiment 3

[0097] Corresponding to the above method embodiments, an embodiment of the present invention further provides a metadata request processing device, and the metadata request processing device described below and the metadata request processing method described above can be referred to in correspondence.

[0098] see Figure 4 As shown, the device includes the following modules:

[0099] The processing request receiving module 101 is configured to receive the second metadata request sent by the second client after sending the first response message to the first client; wherein, the first response message is to process the first metadata request sent by the first client. Generated when metadata is requested;

[0100] A request processing module 102, configured to process metadata according to the second metadata request, and generate second log information and a second response message;

[0101] A response module 103, configured to send a second response message to the second c...

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 metadata request processing method, which comprises the following steps of after sending a first response message to a first client, receiving a second metadata request sentby a second client; processing the metadata according to the second metadata request, and generating the second log information and a second response message; sending the second response message to the second client, and writing the second log information into a cache; and when the log information amount in the cache reaches a specified numerical value, writing the log information in the cache into the OSD. According to the method, the interval time of receiving and processing the two metadata requests can be shortened, and the processing speed of the metadata requests can be increased, furthermore, the processing speed of the metadata request can be accelerated in a pipeline mode, the concurrent processing capacity of the system is improved, and the user experience is improved. The invention further discloses a metadata request processing device and equipment and a readable storage medium which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a metadata request processing method, device, device and readable storage medium. Background technique [0002] In order to ensure the reliability of metadata operations, the metadata server usually uses the writeahead method, that is, the write-ahead log to record metadata operations. [0003] In the writeahead mode, the metadata request processing process is relatively long, and the metadata server uses one thread to complete metadata reception, metadata cache lookup, metadata modification processing, log generation, log cache write, and log cache storage. These tasks need to be flushed to the OSD when full. Moreover, in order to ensure data consistency, the next metadata request can only be processed after completing the entire process of the previous metadata request each time. In this way, the request processing speed of the metadata server is limited, and it is d...

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/14G06F16/17G06F16/172G06F16/18
CPCG06F16/14G06F16/172G06F16/1734G06F16/1815
Inventor 李旭东
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More