Data consistency check flow control method, device, electronic equipment and storage medium
A consistency and data technology, applied in the computer field, can solve problems such as reducing user application experience, and achieve the effects of ensuring data consistency, good flow control effect, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] figure 1 It is a flow chart of the flow control method for data consistency verification provided by Embodiment 1 of the present invention. According to different requirements, the execution sequence in the flow chart can be changed, and some steps can be omitted.
[0057] S11. When a write request of user data is received, store the user data as multiple copies.
[0058] In order to provide data reliability, distributed storage systems are generally implemented by storing data in multiple copies. For example, if a user stores a txt document, in the underlying distributed storage system, this document will be stored in three copies and placed on different hard disks in different fault domains. In this way, even if a hard disk is damaged, the txt file will not be lost. Or when two hard disks are damaged at the same time, the data will still not be lost. However, after the hard disk is damaged, the distributed storage system will generally sense and complete the lost ...
Embodiment 2
[0082] figure 2 It is a flow chart of the method for determining the flow control threshold corresponding to the current statistical period according to the IO load of the user application in the previous statistical period provided by the second embodiment of the present invention.
[0083] S21. Obtain the data block size of each IO applied by the user in the last statistical period, and calculate the average data block size of the IOs in the last statistical period.
[0084] The average data block size of the IOs in the last statistical period may be calculated using an arithmetic mean algorithm, a geometric mean algorithm, or a root mean square mean algorithm.
[0085] For example, suppose it is detected that the user application had ten IOs in the last statistical period, and the data block sizes of the ten IOs are: 2M, 1M, 3M, 0.5M, 10M, 4M, 0.1M, 1.2M, 5M and 8M. Using the arithmetic mean algorithm to calculate the average data block size of the IO in the last statist...
Embodiment 3
[0119] image 3 It is a functional block diagram of a preferred embodiment of the flow control device for data consistency verification in the present invention.
[0120] In some embodiments, the data consistency verification flow control device 30 runs in an electronic device. The data consistency check flow control device 30 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the data consistency check flow control device 30 can be stored in a memory, and executed by at least one processor for execution (see Figure 1-2 and related descriptions) data consistency check flow control method.
[0121] In this embodiment, the data consistency verification flow control device 30 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a copy storage module 301 , a detection module 302 , a flow control acquisition module 303 , a copy verifi...
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