{"title":"R-Memcached: a consistent cache replication scheme with Memcached","authors":"Yanran Lu, Hailong Sun, Xu Wang, Xudong Liu","doi":"10.1145/2678508.2678523","DOIUrl":null,"url":null,"abstract":"Caching is one of the key approaches to improve software system efficiency. And Memcached is a widely-used open source implementation of distributed object caching mechanism. However, Memcached is subject to hotspot problem and single point of failure. In this work, we propose R-Memcached, a scheme to incorporate replication mechanism to Memcached so as to address the aforementioned problems. First, we present how R-Memcached distribute cache replicas to Memcached servers. Second, replication can lead to system inconsistency, and we offer three different protocols to ensure the consistency among cache replicas and provide the adopted read/write strategies in R-Memcached. Finally, we compare the throughput and latency of R-Memcached with some traditional Memcached clients.","PeriodicalId":412543,"journal":{"name":"Proceedings of the Posters and Demos Session of the 15th International Middleware Conference","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Posters and Demos Session of the 15th International Middleware Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2678508.2678523","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9
Abstract
Caching is one of the key approaches to improve software system efficiency. And Memcached is a widely-used open source implementation of distributed object caching mechanism. However, Memcached is subject to hotspot problem and single point of failure. In this work, we propose R-Memcached, a scheme to incorporate replication mechanism to Memcached so as to address the aforementioned problems. First, we present how R-Memcached distribute cache replicas to Memcached servers. Second, replication can lead to system inconsistency, and we offer three different protocols to ensure the consistency among cache replicas and provide the adopted read/write strategies in R-Memcached. Finally, we compare the throughput and latency of R-Memcached with some traditional Memcached clients.