Load balancing method in distributed data storage system
A technology of distributed data and storage system, applied in the field of distributed data storage, can solve problems such as unbalanced resource allocation, achieve efficient use, and achieve the effect of space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The embodiment of the present invention provides a method for constructing a node load status queue, and the method flow includes:
[0026] Define the user access node as AN, the node list in the distributed system as LN, the node as Ni, the node storage space as SNi, define the node load status queue NQ, and define the node load status queue construction algorithm as BNQ.
[0027] The user access node AN requests the storage space SNi from each node Ni in turn according to the node list LN, and then constructs the node load status queue NQ according to the queue construction algorithm BNQ.
[0028] Algorithm 1: Node load status queue construction algorithm
[0029]
[0030] In this way, the construction of the node load queue NQ is realized, which prepares for the subsequent balanced distribution of content.
Embodiment 2
[0032] The embodiment of the present invention provides a method for acquiring global file storage status:
[0033] Define the list of files to be stored in the user access node AN as FL, the size of each file as FSj, define the file buffer queue FQ, and define the file buffer queue construction algorithm as BFQ.
[0034] The user access node AN constructs the file buffer queue FQ according to the file buffer queue construction algorithm BFQ according to the size FSj of each file in the file list FL to be stored.
[0035] Algorithm 2: File buffer queue construction algorithm BFQ
[0036]
[0037]
[0038] In this way, the construction of the file buffer queue FQ is realized to prepare for the subsequent balanced distribution of content.
Embodiment 3
[0040] Combining the contents of the first and second embodiments above, this embodiment provides a content distribution algorithm CDF. Method, the specific method process of this embodiment is:
[0041] Algorithm 3: Content Distribution Algorithm CDF
[0042] Input: node load status queue NQ, file buffer queue
[0043] FQ
[0044] Output: the key-value pair column of the corresponding relationship between the file and the cache host
[0045] Table HL
[0046]
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


