A virtual asset data storage method based on load balancing
A virtual asset and data storage technology, applied in the Internet field, can solve problems such as load balancing, machine scalability defects, and failure to consider system dynamic load balancing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0096] The following simulation experiments are used to illustrate the load balancing effect of the data redistribution algorithm. The simulation experiment sets up three simulation systems A, B and C. Simulation system A does not use the data redistribution algorithm, while simulation systems B and C use it. The load threshold of simulation system B is set to 0.4, and that of simulation system C is set to 0.5. Do the same for the three simulated systems respectively. Simulating the actual situation, the operation is divided into two types: data and nodes. The operation of data is to randomly increase or decrease 100-200 records, and the operation of nodes is to randomly increase or delete 1-2 nodes. The operations on nodes and data are interspersed for a total of 100 times, and the ratio of the two operations is 9:1. image 3 is the comparison between simulated system A and simulated system B, Figure 4 It is a comparison between simulation system B and simulation system C....
Embodiment approach
[0098] In order to simplify the calculation and explain the implementation plan more clearly, the following assumptions are made first:
[0099] Assume that the position on the hash ring ranges from 0 to 20;
[0100] Assume that system D has three nodes N1, N2, and N3 at this time, and the node position table is shown in Table 1;
[0101] Assume that system D has 10 data objects data1, data2, .....data10 at this time; their distribution on the hash ring is as follows Figure 5 shown;
[0102] Assume that the resource r required by each data object is the same;
[0103] Assume that the processing capacity l of each node is the same;
[0104] Suppose the load standard deviation threshold of the system D is set to 0.5.
[0105] Table 2 Node location table of systems N1, N2, N3
[0106] node position N1 10 N2 16 N3 20
[0107] According to the mapping rules, the node stores the data object results as follows:
[0108] Table 3 Storage result tab...
Embodiment 3
[0124] The hardware operating environment of the present invention consists of a server and a client. The server runs on an X86 platform equipped with a Linux operating system, a plurality of machine nodes of JDK1.7 or above, and the client runs on an ordinary personal PC. Taking 5 node servers as an example, the hardware operating environment is as follows Figure 6 As shown, the specific parameters are as follows:
[0125] Server side: consists of 5 node servers;
[0126] The five node servers are configured as follows:
[0127] CPU: Intel Xeon E3-1231v3, 4 cores, 3.4GHz
[0128] Memory: 16G
[0129] Hard disk: 1T*2
[0130] Client: Consists of ordinary personal PCs.
[0131]Compared with the existing technology, this patent application considers the performance of the machine, predicts the load required by the data, and applies the related processing distribution method to the storage of massive information of virtual assets, and the migration of data only occurs betwe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


