MemSC:A Scan-Resistant and Compact Cache Replacement Framework for Memory-Based Key-Value Cache Syst

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:happytime3
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Memory-based key-value cache systems, such as Memcached and Redis, have become indispensable components of data center infrastructures and have been used to cache performance-critical data to avoid expensive back-end database accesses. As the memory is usually not large enough to hold all the items, cache replacement must be performed to evict some cached items to make room for the newly coming items when there is no free space. Many real-world workloads target small items and have frequent bursts of scans (a scan is a sequence of one-time access requests). The commonly used LRU policy does not work well under such workloads since LRU needs a large amount of metadata and tends to discard hot items with scans. Small decreases in hit ratio can result in large end-to-end losses in these systems. This paper presents MemSC, which is a scan-resistant and compact cache replacement framework for Memcached. MemSC assigns a multi-granularity reference flag for each item, which requires only a few bits (two bits are enough for general use) per item to support scan-resistant cache replacement policies. To evaluate MemSC, we implement three representative cache replacement policies (MemSC-HM, MemSC-LH, and MemSC-LF) on MemSC and test them using various workloads. The experimental results show that MemSC outperforms prior techniques. Compared with the optimized LRU policy in Memcached, MemSC-LH reduces the cache miss ratio and the memory usage of the resulting system by up to 23%and 14%respectively.
其他文献
曲率在曲线光顺性方面起着重要作用,针对Bézier曲线的光顺问题,给出并证明了一类具有曲率单调变化的任意次数Bézier曲线.首先基于一种有效的几何设计准则,通过缩放和旋转Bézier曲线的前一条控制边得到邻接的后一条控制边;然后依次得到所有控制边及Bézier曲线控制多边形.实验在Windows系统下采用C++语言实现,通过实例验证了该方法的有效性并给出这类曲线的几何特性.
目的了解四川省食品从业人员中金黄色葡萄球菌携带情况及其耐药现状,为食品安全风险评估提供参考。方法选择绵阳市、德阳市、宜宾市等6市县的大型食堂作为采样点,采集相关食
目的了解潍坊市8县市淡色库蚊幼虫对6种常用杀虫剂的抗性现状,指导合理使用杀虫剂。方法浸渍法测定淡色库蚊幼虫对杀虫剂的抗性水平。结果潍坊市8县市淡色库蚊对双硫磷的抗性
8月30日,漳州市石文化协会以“弘扬石文化、欢乐在牛庄”为主题思想,举办了第六个全国赏石日庆祝活动。来自漳州地区八县二区一市的200余位石友齐聚漳州牛庄文创园,共同庆祝
Key-value (KV) stores have become a backbone of large-scale applications in today’s data centers. Write-optimized data structures like the Log-Structured Merge
目的 研究核内不均一核糖核蛋白A2 /B1(HnRNPA2 /B1)与肺癌的相关性及其用于肺癌早期诊断的可行性。方法 利用RT -PCR方法分别扩增癌组织、癌旁组织、正常组织、良性病变组
脾脏是介于动脉和静脉之间的网状内皮系统的脏器,它具有独特的血液循环系统(开放循环和闭锁循环).随着对脾脏功能认识的深入和脾切除术后发生凶险性感染及保脾手术的广泛开展
只有圆弧、等轴双曲线、伯努利双纽线和帕斯卡蚶线等曲线是可弦长参数化曲线,一般形式的Bézier曲线不满足可弦长参数化条件.为了生成有理n次Bézier曲线的近似弦长参数化,提出一种基于数值优化的弦长参数优化算法.首先推导了有理2次、3次和4次Bézier曲线满足弦长参数化的条件;然后对一般形式的有理n次Bézier曲线作M?bius变换,根据可弦长参数化条件推导出曲线与标准弦长参数化的偏差公式;最
肝脏局灶性结节增生(focal nodular hyperplasia,FNH)是肝内少见的肿瘤样病变,并非真正的肿瘤.病因不明.以前命名不一,如混合性肝腺瘤,良性肝细胞瘤、局限性肝硬变.1975年,“
中枢神经细胞瘤为一种少见的新分类的神经上皮性肿瘤 ,本文搜集了我院 2 0 0 0 -0 6至今 4例经手术病理证实的中枢神经细胞瘤病例 ,分析其MRI、CT表现。1 资料和方法本组 4例中男