Data writing method and device in a distributed system
A distributed system, data writing technology, applied in the input/output process of data processing, electrical digital data processing, input/output to the record carrier, etc., can solve the problem of high delay burr rate of write operations, and achieve both performance and stability, reducing glitch rate, suppressing negative effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] Embodiment 1. A data writing method in a distributed system, such as figure 2 As shown, including steps S110-S120:
[0067] S110. After receiving the user's write request for the first file, sequentially initiate a write data request for multiple writable blocks of the first file according to the first time interval; the first time interval is based on the performance of the write operation The indicators are determined dynamically, and a write operation includes multiple write data requests initiated for a write request;
[0068] S120. Stop initiating a data write request after detecting that any data write request among successively initiated data write requests succeeds.
[0069] In this embodiment, the first time interval is equivalent to a write request for the first file by the user. When sequentially initiating write data requests, the time interval between two adjacent write data requests can also be regarded as redundant The sending interval of write data re...
other Embodiment approach
[0111] In other implementation manners, the dynamic determination of the first time interval may also be implemented in other ways, such as using the time delay of the write operation and the sending redundancy within a predetermined length of time before the moment of the first time interval to be determined The first time interval is calculated by the cumulative value of the number of times of remaining write data requests; another example is based on the number of times redundant write data requests are sent within a predetermined length of time before the moment of the first time interval to be determined and the number of write operations The number of times, the average number of redundant write data requests sent for each write operation is obtained, and then used together with the average value of the delay to calculate the first time interval.
[0112] In this embodiment, the first time interval is based on L avg And the Qps calculation can include:
[0113] The firs...
Embodiment 2
[0163] Embodiment 2. A data writing device in a distributed system, such as image 3 shown, including:
[0164] The initiating module 21 is configured to, after receiving the user's write request for the first file, sequentially initiate a write data request for a plurality of writable blocks of the first file according to a first time interval; the first time interval is based on The performance index of the write operation is dynamically determined, and a write operation includes multiple write data requests initiated for a write request;
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