DP_Greedy: A Two-Phase Caching Algorithm for Mobile Cloud Services

In this paper, we study the data caching problem in mobile cloud environment where multiple correlated data items could be packed and migrated to serve a predefined sequence of requests. By leveraging the spatial and temporal trajectory of requests, we propose a two-phase caching algorithm. We first investigate the correlation between data items to determine whether or not two data items could be packed to transfer, and then combine an existing dynamic programming (DP)-based algorithm and a greedy strategy to design a two-phase algorithm, named DP_Greedy, for effectively caching these shared data items to serve a predefined sequence of requests. Under homogeneous cost model, we prove the proposed algorithm is at most 2/α times worse than the optimal one in terms of the total service cost, where α is the defined discount factor, and also show that the algorithm can achieve this results within O(mn2) time and O(mn) space complexity for m caches to serve a n-length sequence. We evaluate our algorithm by effectively implementing it and comparing it with the non-packing case, the result show the proposed DP_Greedy algorithm not only presents excellent performances but is also more in line with the actual situation.

[1]  Bharadwaj Veeravalli,et al.  Network Caching Strategies for a Shared Data Distribution for a Predefined Service Demand Sequence , 2003, IEEE Trans. Knowl. Data Eng..

[2]  László Böszörményi,et al.  A survey of Web cache replacement strategies , 2003, CSUR.

[3]  Albert-László Barabási,et al.  Limits of Predictability in Human Mobility , 2010, Science.

[4]  Yang Wang,et al.  Data Caching in Next Generation Mobile Cloud Services, Online vs. Off-Line , 2017, 2017 46th International Conference on Parallel Processing (ICPP).

[5]  Bin Tang,et al.  Benefit-Based Data Caching in Ad Hoc Networks , 2008, IEEE Trans. Mob. Comput..

[6]  Yang Wang,et al.  Service Migrations in the Cloud for Mobile Accesses: A Reinforcement Learning Approach , 2017, 2017 International Conference on Networking, Architecture, and Storage (NAS).

[7]  Yang Wang,et al.  Customer attractiveness evaluation and classification of urban commercial centers by crowd intelligence , 2019, Comput. Hum. Behav..

[8]  T. T. Tay,et al.  An object replacement strategy for global performance in distributed Web caching , 2003, International Conference on Communication Technology Proceedings, 2003. ICCT 2003..

[9]  Françoise Sailhan,et al.  Cooperative Caching in Ad Hoc Networks , 2003, Mobile Data Management.

[10]  Sandy Irani,et al.  Cost-Aware WWW Proxy Caching Algorithms , 1997, USENIX Symposium on Internet Technologies and Systems.

[11]  Ari Juels,et al.  New approaches to security and availability for cloud data , 2013, CACM.

[12]  Ahmed. I. Saleh,et al.  An Adaptive Cooperative Caching Strategy (ACCS) for Mobile Ad Hoc Networks , 2017, Knowl. Based Syst..

[13]  David R. Karger,et al.  Web Caching with Consistent Hashing , 1999, Comput. Networks.

[14]  Vikram Srinivasan,et al.  Energy-efficient caching strategies in ad hoc wireless networks , 2003, MobiHoc '03.

[15]  Bharadwaj Veeravalli,et al.  Network caching strategies for reservation-based multimedia services on high-speed networks , 2002, Data Knowl. Eng..

[16]  Rajkumar Buyya,et al.  Cost Optimization for Dynamic Replication and Migration of Data in Cloud Data Centers , 2019, IEEE Transactions on Cloud Computing.

[17]  Weiping Shi,et al.  The rectilinear Steiner arborescence problem is NP-complete , 2000, SODA '00.

[18]  Wen-Chih Peng,et al.  Exploring Spatial-Temporal Trajectory Model for Location Prediction , 2011, 2011 IEEE 12th International Conference on Mobile Data Management.

[19]  Jiannong Cao,et al.  Web Access Patterns Enhancing Data Access Performance of Cooperative Caching in IMANETs , 2016, 2016 17th IEEE International Conference on Mobile Data Management (MDM).

[20]  Yang Wang,et al.  On Data Staging Algorithms for Shared Data Accesses in Clouds , 2013, IEEE Transactions on Parallel and Distributed Systems.