Self-adaptive flow limiting method and device for data writing rate, equipment and medium
A technology of data writing and current limiting method, which is applied in the input/output process of data processing, electrical digital data processing, input/output to record carrier, etc., can solve the problem of unsatisfactory limiting effect, improve convenience and Timeliness, improving adaptability and convenience, and avoiding fluctuations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Such as figure 1 As shown, the present invention provides an adaptive current limiting method of data writing rate, which is applied in a distributed storage system, including:
[0052] S1, performing data writing control on multiple IO instances;
[0053] S2, obtaining the data writing request to be written in each IO instance, and analyzing and obtaining the amount of data to be written contained in the data writing request;
[0054] S3, according to the amount of data to be written, judge the amount of data that can be written in the current first cycle for comparison, and judge whether the amount of data that can be written in the current first cycle is not less than the amount of data to be written, if the judgment result is If yes, execute step S4; if the judgment result is no, execute step S5;
[0055] S4, controlling the writing of data to be written, and updating the amount of data that can be written in the current first cycle;
[0056] S5, put the data wri...
Embodiment 2
[0096] Such as Figure 5 As shown, the technical solution of the present invention also provides an adaptive current limiting device for data writing rate, which is applied to a distributed storage system, including:
[0097] The control module 101 performs data writing control on multiple IO instances;
[0098] Obtaining the parsing module 102, obtaining the data writing request to be written in each IO instance, and analyzing and obtaining the amount of data to be written contained in the data writing request;
[0099] Comparing module 103 judges the amount of data that can be written in the current first cycle according to the amount of data to be written for comparison, if the amount of data that can be written in the current first cycle is not less than the amount of data to be written, control the amount of data to be written Write the incoming data, and update the amount of data that can be written in the current first cycle; if the amount of data that can be written i...
Embodiment 3
[0133] Such as Figure 7 As shown, the technical solution of the present invention also provides an electronic device, including: a memory 201 for storing a computer program; a processor 202 for implementing the data writing rate as described in Embodiment 1 when executing the computer program The steps of the adaptive current limiting method.
[0134] The memory 201 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on an electronic device. It can be understood that the memory 201 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Wherein, non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, ErasableProgrammable Read-Only Memory) Mem...
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