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

Harmonia:用于具有网络内冲突检测的复制存储的近线性Scalability

Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict Detection

Hang Zhu, Zhihao Bai, Jialin Li, Ellis Michael, Dan Ports, Ion Stoica, Xin Jin

摘要:

分布式存储采用复制来屏蔽故障并提高可用性。然而,这些系统通常表现出一致性和性能之间的硬权衡。确保一致性会引入协调开销,因此系统吞吐量不会随副本数量而变化。我们提出了Harmonia,一个复制的存储架构,利用新一代可编程交换机的能力,通过提供接近线性的可扩展性,而不牺牲一致性,以避免这种权衡。为了实现这一目标,Harmonia检测网络中的读写冲突,这使得任何副本都可以为没有挂起写入的对象提供读取服务。Harmonia以线路速率实现此功能,因此不会带来性能开销。我们已经在一个由Barefoot Tofino交换机连接的商品服务器集群上实现了Harmonia的原型,并将其与Redis集成。我们证明了我们的方法的一般性,通过支持各种复制协议,包括主备份,链复制,Viewstamped复制和NOPaxos。实验结果表明,Harmonia将这些协议的吞吐量提高了10倍,复制因子为10,提供了接近线性的可扩展性,达到了我们测试平台的极限。

英文摘要:

Distributed storage employs replication to mask failures and improve availability. However, these systems typically exhibit a hard tradeoff between consistency and performance. Ensuring consistency introduces coordination overhead, and as a result the system throughput does not scale with the number of replicas. We present Harmonia, a replicated storage architecture that exploits the capability of new-generation programmable switches to obviate this tradeoff by providing near-linear scalability without sacrificing consistency. To achieve this goal, Harmonia detects read-write conflicts in the network, which enables any replica to serve reads for objects with no pending writes. Harmonia implements this functionality at line rate, thus imposing no performance overhead. We have implemented a prototype of Harmonia on a cluster of commodity servers connected by a Barefoot Tofino switch, and have integrated it with Redis. We demonstrate the generality of our approach by supporting a variety of replication protocols, including primary-backup, chain replication, Viewstamped Replication, and NOPaxos. Experimental results show that Harmonia improves the throughput of these protocols by up to 10X for a replication factor of 10, providing near-linear scalability up to the limit of our testbed.

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

↑