Data storage method and device for distributed file system
A distributed file and data storage technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of reducing node IO performance, busyness, cluster availability decline, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a flowchart of a data storage method for a distributed file system provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the data storage method of the distributed file system include:
[0047] Step S10: Count the preset parameters of the data nodes in the distributed file system cluster.
[0048] The preset parameters include at least a data read and write frequency.
[0049] It can be understood that, since the basis for selecting data nodes for data storage in the present invention is the data reading and writing frequency of the data node, and the data reading and writing frequency can reflect whether the data node is frequently accessed and used for data reading and writing, Therefore, data nodes with high data read and write frequency will have lower performance than data nodes with low data read and write frequency because they read and write data more frequently. It should be noted that since the ...
Embodiment 2
[0056] figure 2It is a flow chart of another data storage method for a distributed file system provided by an embodiment of the present invention. figure 2 In steps S10-S12 and figure 1 Same, no more details here.
[0057] On the basis of the above embodiments, as a preferred implementation manner, the preset parameters also include the remaining capacity of the data node;
[0058] Correspondingly, the method further includes:
[0059] Set the data volume threshold of the data;
[0060] Determine whether the total amount of data meets the data volume threshold;
[0061] If so, select the data node with the lowest reading and writing frequency as the target node based on the preset parameters as the target node:
[0062] Based on the preset parameters, the data node with the lowest reading and writing frequency is selected as the target node among the data nodes with the largest remaining capacity.
[0063] It should be noted that the purpose of setting the data volume ...
Embodiment 3
[0080] An embodiment of a data storage method for a distributed file system has been described in detail above, and the present invention also provides a data storage device for a distributed file system. Since the embodiment of the device part and the embodiment of the method part Corresponding to each other, so for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.
[0081] image 3 It is a structural diagram of a data storage device of a distributed file system provided by an embodiment of the present invention. Such as image 3 As shown, a data storage device for a distributed file system provided by an embodiment of the present invention includes:
[0082] The statistical module 10 is used for counting the preset parameters of the data nodes in the distributed file system cluster.
[0083] The node selection module 11 is configured to select the data node with the lowest readin...
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