首页> 外文会议>ACM EuroSys conference on computer systems >Cache Craftiness for Fast Multicore Key-Value Storage
【24h】

Cache Craftiness for Fast Multicore Key-Value Storage

机译:缓存开发用于快速多核键值存储

获取原文

摘要

We present Masstree. a fast key-value database designed for SMP machines. Masstree keeps all data in memory. Its main data structure is a trie-like concatenation of B~+-trees, each of which handles a fixed-length slice of a variable-length key. This structure effectively handles arbitrary-length possibly-binary keys, including keys with long shared prefixes. B~+-tree fanout was chosen to minimize total DRAM delay when descending the tree and prefetching each tree node. Lookups use optimistic concurrency control, a read-copy-update-like technique, and do not write shared data structures: updates lock only affected nodes. Logging and checkpointing pro-vide consistency and durability. Though some of these ideas appear elsewhere, Masstree is the first to combine them. We discuss design variants and their consequences. On a 16-core machine, with logging enabled and queries arriving over a network. Masstree executes more than six million simple queries per second. This performance is com-parable to that of memcached, a non-persistent hash table server, and higher (often much higher) than that of VoltDB, MongoDB, and Redis.
机译:我们呈现庞大。专为SMP机器设计的快速键值数据库。 Masstree将所有数据保留在内存中。其主要数据结构是B〜+ -Trees的Trie样串联,每个都处理可变长度键的固定长度切片。该结构有效地处理任意长度的可能 - 二进制键,包括具有长期共享前缀的键。选择B〜+ -Tree扇孔,以最小化树木树划并预取每个树节点时的总DRAM延迟。查找使用乐观的并发控制,读取副本更新的技术,并且不编写共享数据结构:更新仅锁定受影响的节点。记录和检查点的Pro-Vide一致性和耐用性。虽然一些这些想法出现在其他地方,但Masstree是第一个结合它们的想法。我们讨论设计变体及其后果。在一个16核心机器上,启用了记录,查询到达网络。 Masstree每秒执行超过600万个简单的查询。这种性能与MEMCACHED,非持久性哈希表服务器,更高(通常高得多)的表现比VoltDB,MongoDB和Redis的表现更高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号