使用Paxos构建可扩展、一致和高度可用的数据存储
Using Paxos to Build a Scalable, Consistent, and Highly Available Datastore
摘要:
Spinnaker是一个实验性的服务器,设计用于在单个数据中心的大型商用服务器集群上运行。它具有基于键的范围分区、3向复制和事务性get-put API,可选择在读取时选择强一致性或时间轴一致性。本文介绍了Spinnaker的基于Paxos的复制协议。Paxos的使用确保了Spinnaker中的数据分区将可用于读取和写入,只要它的大多数副本都是活的。与传统的主从复制不同,无论发生的故障顺序如何,这都是正确的。我们表明,Paxos复制可以与提供较弱的一致性保证的替代品竞争。与最终一致的数据库相比,我们表明,Spinnaker在读取时可以一样快甚至更快,在写入时仅慢5%到10%。
英文摘要:
Spinnaker is an experimental datastore that is designed to run on a large cluster of commodity servers in a single datacenter. It features key-based range partitioning, 3-way replication, and a transactional get-put API with the option to choose either strong or timeline consistency on reads. This paper describes Spinnaker's Paxos-based replication protocol. The use of Paxos ensures that a data partition in Spinnaker will be available for reads and writes as long a majority of its replicas are alive. Unlike traditional master-slave replication, this is true regardless of the failure sequence that occurs. We show that Paxos replication can be competitive with alternatives that provide weaker consistency guarantees. Compared to an eventually consistent datastore, we show that Spinnaker can be as fast or even faster on reads and only 5% to 10% slower on writes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。