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

可串行性,而非串行性:多数据中心数据存储中的并发控制和可用性

Serializability, not Serial: Concurrency Control and Availability in Multi-Datacenter Datastores

Stacy Patterson, Aaron J. Elmore, Faisal Nawab, Divyakant Agrawal, Amr El Abbadi

摘要:

我们提出了一个多数据中心数据存储的并发控制和可用性框架。虽然我们考虑Google的Megastore作为我们的激励示例,但我们为关键组件定义了通用抽象,使我们的解决方案可扩展到满足抽象属性的任何系统。我们首先基于Paxos算法的简单实现开发和分析事务管理和复制协议。我们的研究表明,该协议作为一个并发预防机制,而不是一个并发控制机制。然后,我们提出了一个增强的协议,称为Paxos与组合和促进(Paxos-CP),提供真正的事务并发性,同时需要相同的每个实例的消息复杂性作为基本的Paxos协议。最后,我们比较了Paxos和Paxos-CP在多数据中心实验研究中的性能,我们证明了Paxos-CP比基本Paxos导致更少的中止事务。

英文摘要:

We present a framework for concurrency control and availability in multi-datacenter datastores. While we consider Google's Megastore as our motivating example, we define general abstractions for key components, making our solution extensible to any system that satisfies the abstraction properties. We first develop and analyze a transaction management and replication protocol based on a straightforward implementation of the Paxos algorithm. Our investigation reveals that this protocol acts as a concurrency prevention mechanism rather than a concurrency control mechanism. We then propose an enhanced protocol called Paxos with Combination and Promotion (Paxos-CP) that provides true transaction concurrency while requiring the same per instance message complexity as the basic Paxos protocol. Finally, we compare the performance of Paxos and Paxos-CP in a multi-datacenter experimental study, and we demonstrate that Paxos-CP results in significantly fewer aborted transactions than basic Paxos.

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

↑