Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3162957.3163024acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiccipConference Proceedingsconference-collections
research-article

A social-aware caching algorithm for improving performance of online social network services in a multi-cloud environment

Published: 24 November 2017 Publication History

Abstract

Existing online social network (OSN) services use caching systems with the least recently used (LRU) algorithm as an eviction policy for improving service performance. However, they do not consider the characteristics of users' usage pattern in OSN services. In addition, they do not consider the fact that the users and cloud servers are geographically distributed over a large area. It makes relatively unnecessary data occupy limited memory space. Consequently, they cannot prevent the degradation of cache efficiency.
We introduce a social-aware caching algorithm to improve the performance of OSN services in a multi-cloud environment. Our approach is designed to consider the locations of the user and cloud server and to allocate memory space differently to each user by considering the user's frequency of service usage.
To validate our approach, we implemented a OSN service that manages user data in the same way as Twitter that is a representative OSN service. Furthermore, we experimented with actual users' locations and times of use as collected from Twitter. Our findings indicate that this approach can improve the cache hit ratio by an average of more than 24% and reduce the execution delay by an average of more than 1095 ms.

References

[1]
Seunghee Han, Bosung Kim, Jaemin Han, Kyehee Kim, and Jooseok Song. 2017. Adaptive Data Placement for Improving Performance of Online Social Network Services in a Multicloud Environment. Scientific Programming 2017 (2017), 1--17.
[2]
Nikolay Grozev and Rajkumar Buyya. 2014. Multi-Cloud Provisioning and Load Distribution for Three-Tier Applications. ACM Transactions on Autonomous and Adaptive Systems 9, 3 (July 2014), 1--21.
[3]
Zhe Wu and Harsha V. Madhyastha. 2013. Understanding the latency benefits of multi-cloud webservice deployments. ACM SIGCOMM Computer Communication Review 43, 1 (2013), 13.
[4]
Twitter, 2017. The Infrastructure Behind Twitter: Scale. https://blog.twitter.com/engineering/en_us/topics/infrastructure/2017/the-infrastructure-behind-twitter-scale.html
[5]
Amazon, 2017. Amazon ElastiCache. https://aws.amazon.com/elasticache/
[6]
Flickr, 2017. Flickr Developer Site. http://code.flickr.net/2014/07/31/redis-sentinel-at-flickr/
[7]
R. Nishtala, H. Fugal, S. Grimm, M. Kwiatkowski, H. Lee, H. Li, R. McElroy, M. Paleczny, D. Peek, P. Saab, D. Stafford, T. Tung, and V. Venkataramani. 2013. Scaling Memcache at Facebook. In Proceedings of the 10th USENIX Symposium on Networked Systems Design and Implementation (LOMBARD, IL, APRIL 2--5, 2013). nsdi'13, 385--398.
[8]
Varnish, 2017. Varnish cache. https://varnish-cache.org/
[9]
Nginx, 2017. Nginx cache. https://nginx.org/en/
[10]
Apache, 2017. Apache cache. https://www.apache.org/
[11]
Hu, X., Wang, X., Li, Y., Zhou, L., Luo, Y., Ding, C., ... & Wang, Z. 2015. LAMA: Optimized Locality-aware Memory Allocation for Key-value Cache. In USENIX Annual Technical Conference (Santa Clara, CA, July 8--10, 2015). USENIX ATC'15. 57--69.
[12]
Cidon, A., Eisenman, A., Alizadeh, M., & Katti, S. 2015. Dynacache: Dynamic Cloud Caching. In the 7th USENIX Workshop on Hot Topics in Cloud Computing (Santa Clara, CA, July 6--7, 2015). HotStorage'15.
[13]
Cidon, A., Eisenman, A., Alizadeh, M., & Katti, S. 2016. Cliffhanger: Scaling Performance Cliffs in Web Memory Caches. In the 13th USENIX Symposium on Networked Systems Design and Implementation (Santa Clara, CA, March 16--18, 2016). NSDI'16. 379--392.
[14]
Adam Silberstein, Jeff Terrace, Brian F. Cooper, and Raghu Ramakrishnan. 2010. Feeding frenzy. Proceedings of the 2010 international conference on Management of data - SIGMOD 10 (2010).
[15]
Thoene, W. S. 2012. The impact of social networking sites on college students' consumption patterns. Theses, Dissertations and Capstones.
[16]
Memcached, 2017. In-memory DB Memcached, https://memcached.org/
[17]
Redis, 2017. NoSQL In-memory DB Redis, https://redis.io/
[18]
MySQL, 2017. MySQL, https://www.mysql.com/
[19]
Buffer Social, 2016. The Biggest Social Media Science Study. https://blog.bufferapp.com/best-time-to-tweet-research
[20]
Guoxin Liu, Haiying Shen, and Harrison Chandler. 2013. Selective Data replication for Online Social Networks with Distributed Datacenters. 2013 21st IEEE International Conference on Network Protocols (ICNP) (2013).
[21]
Wikipedia, 2017. Cache (computing). https://en.wikipedia.org/wiki/Cache_(computing)
[22]
PIVOTAL, 2017. An Introduction to look-aside caching. https://content.pivotal.io/blog/an-introduction-to-look-aside-vs-inline-caching-patterns

Index Terms

  1. A social-aware caching algorithm for improving performance of online social network services in a multi-cloud environment

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ICCIP '17: Proceedings of the 3rd International Conference on Communication and Information Processing
    November 2017
    545 pages
    ISBN:9781450353656
    DOI:10.1145/3162957
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 24 November 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. cache
    2. caching algorithm
    3. cloud
    4. multi-cloud
    5. multiple clouds
    6. online social network (OSN)

    Qualifiers

    • Research-article

    Funding Sources

    • Ministry of Education

    Conference

    ICCIP 2017

    Acceptance Rates

    Overall Acceptance Rate 61 of 301 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 41
      Total Downloads
    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 09 Feb 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media