Research Article
An Adaptive Data Placement Architecture in Multicloud Environments
Algorithm 2
Algorithm TDM: transform data placement into an MDP.
| Input: Data center specification, , DAF, , the required availability, , the required data retrieval latency, . | | Output: The state matrix, , the transfer matrix, . | (1) | Calculate all -combinations of data centers . | (2) | for alldo | (3) | Calculate availability of through (1); | (4) | Calculate latency of through (8); | (5) | if and then | (6) | for to do | (7) | Calculate the base cost of through (5); | (8) | ; | (9) | end for | (10) | end if | (11) | end for | (12) | for alldo | (13) | for alldo | (14) | Calculate the migration cost between and through (6); | (15) | end for | (16) | end for | (17) | return, ; |
|