{"title":"Instrumenting cloud caches for online workload monitoring: the case of online miss rate curve estimation in memcached","authors":"Jorge R. Murillo, Gustavo Totoy, Cristina L. Abad","doi":"10.1145/3152881.3152884","DOIUrl":null,"url":null,"abstract":"Fast and efficient algorithms to estimate miss rate curves have recently been proposed, yet these have not been incorporated into cloud caches. Numerous applications that could benefit from these techniques are relying on less useful cache metrics or incomplete information. We study how to instrument cloud caches to obtain online miss rate curves (MRCs). Our approach leverages state-of-the-art algorithms and data structures, thus incurring in negligible overhead. We also propose an alternative design that makes it easier to change the MRC estimation algorithm, as well as plug-in other monitoring techniques. We implemented our designs in one of the top cloud caches: Memcached. We show via experimentation, that our implementation is efficient. Finally, we discuss how our solution can be used to improve the management of cloud caches; in particular, our code can be used by caching middleware to auto-adapt to changes in workload and maximize performance.","PeriodicalId":407032,"journal":{"name":"Proceedings of the 16th Workshop on Adaptive and Reflective Middleware","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 16th Workshop on Adaptive and Reflective Middleware","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3152881.3152884","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Fast and efficient algorithms to estimate miss rate curves have recently been proposed, yet these have not been incorporated into cloud caches. Numerous applications that could benefit from these techniques are relying on less useful cache metrics or incomplete information. We study how to instrument cloud caches to obtain online miss rate curves (MRCs). Our approach leverages state-of-the-art algorithms and data structures, thus incurring in negligible overhead. We also propose an alternative design that makes it easier to change the MRC estimation algorithm, as well as plug-in other monitoring techniques. We implemented our designs in one of the top cloud caches: Memcached. We show via experimentation, that our implementation is efficient. Finally, we discuss how our solution can be used to improve the management of cloud caches; in particular, our code can be used by caching middleware to auto-adapt to changes in workload and maximize performance.