Research Article

Data Placement for Privacy-Aware Applications over Big Data in Hybrid Clouds

Algorithm 4

Energy aware data placement in private cloud.
Input: The dataset
Output: The dataset placement strategy
() Algorithm 1 Special VM identification for data access
() for to do
()   if needs to be placed in private cloud then
()    for to do
()     if can hold then
()      Add to
()     end if
()    end for
()    Sort in the decreasing order of VM distance
      between the VM in svi and the VM in
()    Calculate the energy consumption after
     allocating to by (16)
(   ,
()   while do
()     Calculate the energy consumption after
       allocating to by Eq. (16)
()     if then
()      
()     end if
()     
()   end while
()   Update according to MC and the relevant PM
()  end if
() end for
() Return