Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

A request processing and target technology, applied in electrical digital data processing, data processing input/output process, instruments, etc., can solve the problems of storage system impact, impact on business stability, bandwidth exceeding the limit value, etc.

Active Publication Date: 2022-02-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the reading and writing pressure on the volume is uneven, a certain amount of tokens will accumulate in the token bucket, and the number of tokens in the token bucket in a certain period of time exceeds the expected value, resulting in the bandwidth exceeding the limit in this period of time value, which in turn has an impact on the storage system and affects business stability

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
  • A request processing method, device, equipment and readable storage medium
  • A request processing method, device, equipment and readable storage medium
  • A request processing method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Please refer to figure 1 , figure 1 It is a flowchart of a request processing method in an embodiment of the present invention, and the method includes the following steps:

[0050] S101. Receive a target request, and determine the read / write data size specified by the target request.

[0051] A target request is received, where the target request may be a request for reading data sent by a user, or a request for writing data. After the target request is received, the read / write data size specified by the target request can be determined. Specifically, if it is a request for writing data, then determine the size of the data specified to be written into the storage device; if it is a request for reading data, then determine the size of the data specified to be read from the storage device. The size of the data is expressed in bytes.

[0052] S102. Input the data size into a time stamp calculation model with a volume bandwidth upper limit for calculation to obtain a tar...

Embodiment 2

[0072] In order to facilitate those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, the implementation of volume bandwidth control by using the technical solution provided by the embodiment of the present invention in a distributed storage cluster will be described in detail below.

[0073] Please refer to figure 2 , figure 2 It is a specific implementation flowchart of a request processing method in the embodiment of the present invention.

[0074] In practical application, according to the request processing method provided by the embodiment of the present invention, a time stamp bandwidth control unit and a Flush module are set. Among them, the time bandwidth control unit can set a time tag for each read and write request according to its data size and expected bandwidth value in sequence and put them in a waiting queue, that is, each read and write request is processed according to its data size and exp...

Embodiment 3

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

[0089] see image 3 As shown, the device includes the following modules:

[0090] The target request receiving module 101 is used to receive the target request, and determine the data size of the specified read / write target request;

[0091] The target time stamp obtaining module 102 is used for inputting the data size into the time stamp calculation model provided with the volume bandwidth upper limit for calculation to obtain the target time stamp;

[0092] The target waiting request acquisition module 103 is used to set the target time tag for the target request to obtain the target waiting request, and put the target waiting request into the waiting queue;

[0093] The target waiting request proce...

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 request processing method, which comprises the following steps: receiving a target request, and determining the size of the read / write data specified by the target request; inputting the data size into a time label calculation model with an upper limit value of volume bandwidth Perform calculations to obtain the target time stamp; set the target time stamp for the target request to obtain the target waiting request, and put the target waiting request into the waiting queue; when the current time reaches or exceeds the target time stamp, release the target waiting request and provide the target Wait for the corresponding data service to be requested. In this way, the bandwidth can be controlled according to the time tag. According to time, read and write requests are controlled in a planned way, which can accurately and stably control bandwidth and further improve business stability. The invention also discloses a request processing device, equipment and readable storage medium, which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the technical field of distributed storage, in particular to a request processing method, device, equipment and readable storage medium. Background technique [0002] In distributed storage, it is necessary to control the bandwidth of multiple volumes in the distributed storage system according to different business requirements, so as to improve the quality of service. [0003] Currently, a relatively mature volume bandwidth control method is implemented based on the token bucket algorithm. The specific implementation process of the volume bandwidth control method based on the token bucket algorithm is as follows: [0004] Set a token bucket control unit on the read-write path of the volume. When each read-write request passes through the token bucket control unit, it needs to obtain a corresponding number of tokens from the token bucket according to the data size of the request. If The number of tokens in the token ...

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 Patents(China)
IPC IPC(8): H04L47/56H04L67/60H04L67/1097G06F3/06
CPCH04L47/56H04L67/1097G06F3/0614G06F3/0665G06F3/067H04L67/60
Inventor 朱行武
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products