A reading method and device in a distributed system
A distributed system and reading device technology, applied in the direction of file system, instrument, file access structure, etc., can solve the problems of increased queuing, failure to optimize glitch rate, and increased glitch rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] Embodiment 1. A reading method in a distributed system, such as figure 2 As shown, including steps S110-S120:
[0070] S110. After receiving the user's read request for the first file, send a read data request to one of the storage nodes corresponding to the first file;
[0071] S120. When the waiting time for a response reaches or exceeds a first time interval, send a redundancy request for the read data request to another storage node corresponding to the first file;
[0072] Wherein, the first time interval is dynamically determined according to the performance index of the read operation.
[0073] In this embodiment, the sending interval of the redundancy request for the read data request (that is, the first time interval) is no longer fixed, but dynamically adjusted according to the situation. Dynamic adjustment means that the first time interval will follow the read The performance index of the operation changes; since the performance index of the read operatio...
other Embodiment approach
[0098] In other implementation manners, another method can also be used to realize the dynamic determination of the first time interval, such as using the delay of the read operation and sending the redundancy request within a predetermined length of time before the moment of the first time interval to be determined. The accumulated value of the number of times to calculate the first time interval; for example, according to the number of redundant requests sent and the number of read operations within a predetermined length of time before the time of the first time interval to be determined, the The average number of sending times of the read operation is then used together with the average value of the delay to calculate the first time interval.
[0099] In this embodiment, the first time interval is based on L avg And the Qps calculation can include:
[0100] The first time interval is equal to the function value of the predetermined function; the argument of the predetermi...
Embodiment 2
[0125] Embodiment 2. A reading device in a distributed system, such as image 3 shown, including:
[0126] The first request module 21 is configured to send a read data request to one of the storage nodes corresponding to the first file after receiving the user's read request for the first file;
[0127] The second request module 22 is configured to send a redundancy request for the read data request to another storage node corresponding to the first file when the waiting time for a response reaches or exceeds a first time interval; wherein, the The first time interval is dynamically determined according to the performance index of the read operation.
[0128]In this embodiment, the first request module 21 is the part responsible for initiating a read data request in the above device, which may be software, hardware or a combination of both.
[0129] In this embodiment, the second request module 22 is a part in the above device responsible for initiating a redundancy 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