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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com