arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1509.07815cs.DC
收藏

Warp:用于键值存储的轻量级多密钥事务

Warp: Lightweight Multi-Key Transactions for Key-Value Stores

Robert Escriva, Bernard Wong, Emin Gün Sirer

摘要:

传统的NoSQL系统通过在多个服务器上分片数据,并在少量服务器上执行每个操作来扩展。由于多个键上的事务必然需要跨多个服务器进行协调,因此NoSQL系统通常会显式地避免做出事务保证,以避免这种协调。过去在事务系统上的工作通过增加事务排序的粒度、牺牲可串行性或通过做出时钟同步性假设来控制这种协调。本文提出了一种新的协议,用于在分片数据存储之上提供可串行化的事务。该协议被称为非循环事务,允许多个事务同时准备和提交,提高了系统的并发性,同时确保并发提交事务之间不会形成循环。我们已经在一个名为Warp的文档存储中完全实现了非循环事务。实验表明,在标准TPC-C基准测试中,Warp的吞吐量比Sinfonia的mini-transactions高4倍,并且没有异常中止。此外,该系统实现了其构建的非事务性键值存储的75%的吞吐量。

英文摘要:

Traditional NoSQL systems scale by sharding data across multiple servers and by performing each operation on a small number of servers. Because transactions on multiple keys necessarily require coordination across multiple servers, NoSQL systems often explicitly avoid making transactional guarantees in order to avoid such coordination. Past work on transactional systems control this coordination by either increasing the granularity at which transactions are ordered, sacrificing serializability, or by making clock synchronicity assumptions. This paper presents a novel protocol for providing serializable transactions on top of a sharded data store. Called acyclic transactions, this protocol allows multiple transactions to prepare and commit simultaneously, improving concurrency in the system, while ensuring that no cycles form between concurrently-committing transactions. We have fully implemented acyclic transactions in a document store called Warp. Experiments show that Warp achieves 4 times higher throughput than Sinfonia's mini-transactions on the standard TPC-C benchmark with no aborts. Further, the system achieves 75% of the throughput of the non-transactional key-value store it builds upon.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑