首页> 外文期刊>ACM Transactions on Storage >Efficient and Available In-Memory KV-Store with Hybrid Erasure Coding and Replication
【24h】

Efficient and Available In-Memory KV-Store with Hybrid Erasure Coding and Replication

机译:具有混合擦除编码和复制的高效且可用的内存KV-Store

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

In-memory key/value store (KV-store) is a key building block for many systems like databases and large websites. Two key requirements for such systems are efficiency and availability, which demand a KV-store to continuously handle millions of requests per second. A common approach to availability is using replication, such as primary-backup (PBR), which, however, requires M+1 times memory to tolerate M failures. This renders scarce memory unable to handle useful user jobs. This article makes the first case of building highly available in-memory KV-store by integrating erasure coding to achieve memory efficiency, while not notably degrading performance. A main challenge is that an in-memory KV-store has much scattered metadata. A single KV put may cause excessive coding operations and parity updates due to excessive small updates to metadata. Our approach, namely Cocytus, addresses this challenge by using a hybrid scheme that leverages PBR for small-sized and scattered data (e.g., metadata and key), while only applying erasure coding to relatively large data (e.g., value). To mitigate well-known issues like lengthy recovery of erasure coding, Cocytus uses an online recovery scheme by leveraging the replicated metadata information to continuously serve KV requests. To further demonstrate the usefulness of Cocytus, we have built a transaction layer by using Cocytus as a fast and reliable storage layer to store database records and transaction logs. We have integrated the design of Cocytus to Memcached and extend it to support in-memory transactions. Evaluation using YCSB with different KV configurations shows that Cocytus incurs low overhead for latency and throughput, can tolerate node failures with fast online recovery, while saving 33% to 46% memory compared to PBR when tolerating two failures. A further evaluation using the SmallBank OLTP benchmark shows that in-memory transactions can run atop Cocytus with high throughput, low latency, and low abort rate and recover fast from consecutive failures.
机译:内存密钥/值存储(KV-Store)是许多系统等数据库和大型网站的关键构建块。此类系统的两个关键要求是效率和可用性,需求kV-储存持续处理每秒数百万个请求。可用性的常用方法是使用复制,例如主备份(PBR),但是,这需要M + 1次内存来容忍M故障。这呈现稀缺内存无法处理有用的用户作业。本文通过集成擦除编码来实现内存效率,实现第一种在内存KV-商店中建立高度可用的案例,以实现内存效率,同时不会显着降低性能。主要挑战是内存中的kv-store具有太多分散的元数据。由于对元数据过多的小更新,单kV放置可能导致过度编码操作和奇偶校验更新。我们的方法,即Cocytus,通过使用一种混合方案来解决这一挑战,该方案利用PBR用于小型和散射数据(例如,元数据和键),同时仅将擦除编码应用于相对大的数据(例如,值)。为了减轻冗长恢复的众所周知的问题,如擦除编码的冗长恢复,Cocytus通过利用复制的元数据信息来连续地服务于KV请求来使用在线恢复方案。为了进一步展示Cocytus的有用性,我们通过使用Cocytus作为快速可靠的存储层构建了交易层,以存储数据库记录和事务日志。我们已将Cocytus的设计集成为MEMCACHED并将其扩展以支持内存交易。使用具有不同KV配置的YCSB的评估显示Cocytus在延迟和吞吐量的情况下突出低开销,可以容忍快速在线恢复的节点故障,同时在容忍两个故障时节省33%至46%的内存。使用SmallBank OLTP基准测试的进一步评估显示,内存中的事务可以在Cocytus上运行高吞吐量,低延迟和低中止速率,并从连续故障恢复。

著录项

  • 来源
    《ACM Transactions on Storage》 |2017年第3期|共30页
  • 作者单位

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

    Shanghai Key Laboratory of Scalable Computing and Systems Institute of Parallel and Distributed Systems Shanghai Jiao Tong University Shanghai China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 存贮器;
  • 关键词

    KV-store; Primary-backup replication; erasure coding; transactions;

    机译:kv-store;初级备份复制;擦除编码;交易;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号