Research Article
Data Sets Replicas Placements Strategy from Cost-Effective View in the Cloud
Algorithm 1
Replica scarce resource testing.
| Input: data set , , , ; | | Output: if is a replica scarce resource, return true; else return false; | | (01) count the data set ’s requested access times using logs files; | | (02) set ; | | (03) sum the data set ’s response time using logs files; | | (04) set ; | | (05) set ; | | (06) if (() and ()) | | (07) return true; | | (08) else | | (09) return false; | | (10) End. |
|