[Retracted] Load Balancing Optimization of In-Memory Database for Massive Information Processing of Internet of Things (IoTs)
Table 2
Hash partition.
Input: Data to be divided inputData[]
Loop:
Step1: Process a new element, carry out load balancing calculation of in-memory database for mass information processing of Internet of Things based on element value, and determine the partition result
Step2: Write the element into the cache area to which it belongs
Until: 56B storage space in a partitioned cache is full
End loop
Step3: Create a new node and store its address in the divided cache area, so that the storage space of 64B in the cache area has been filled up
Step4: Directly write the data of 64B in the partition cache area into the memory address indicated by the partition in the location array. The procedure uses a nontemporal writing operation, bypassing the cache, and writing directly to memory
Step5: Update the memory address referred to by this partition in the location array to the memory address of the new node in the cache