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

100台机器能达成一致吗?

Can 100 Machines Agree?

Rachid Guerraoui, Jad Hamza, Dragos-Adrian Seredinschi, Marko Vukolic

摘要:

协议协议通常以小规模部署,例如,使用三到五台机器。这是因为这些协议似乎遭受了急剧的性能衰减。更具体地说,作为部署的大小-即,复制度-增加,协议性能大大降低。然而,在实践中没有太多的实验证据证明这种衰减,特别是对于较大的系统尺寸,例如,超越了少数机器。在本文中,我们在多达100台机器上执行协议,并观察它们的性能衰减。我们考虑成熟系统中的知名协议,如Apache ZooKeeper,etcd和BFT-Smart,以及我们自己实现的链和基于环的新型协议。我们提供的经验证据表明,目前的协议协议执行优雅的100台机器上。我们观察到吞吐量衰减最初是急剧的(与之前的观察一致);但有趣的是--随着每个系统的增长超过几十个副本--衰减就会减弱。对于基于链和环的复制,这种衰减比其他系统慢。从我们的评估中得出的积极结论是,当在广域公共云平台上执行100个副本时,成熟的协议实现可以支持每秒300到500个请求。基于链和环的复制可以达到4K到11 K之间(最多提高20倍),具体取决于故障假设。

英文摘要:

Agreement protocols have been typically deployed at small scale, e.g., using three to five machines. This is because these protocols seem to suffer from a sharp performance decay. More specifically, as the size of a deployment---i.e., degree of replication---increases, the protocol performance greatly decreases. There is not much experimental evidence for this decay in practice, however, notably for larger system sizes, e.g., beyond a handful of machines. In this paper we execute agreement protocols on up to 100 machines and observe on their performance decay. We consider well-known agreement protocols part of mature systems, such as Apache ZooKeeper, etcd, and BFT-Smart, as well as a chain and a novel ring-based agreement protocol which we implement ourselves. We provide empirical evidence that current agreement protocols execute gracefully on 100 machines. We observe that throughput decay is initially sharp (consistent with previous observations); but intriguingly---as each system grows beyond a few tens of replicas---the decay dampens. For chain- and ring-based replication, this decay is slower than for the other systems. The positive takeaway from our evaluation is that mature agreement protocol implementations can sustain out-of-the-box 300 to 500 requests per second when executing on 100 replicas on a wide-area public cloud platform. Chain- and ring-based replication can reach between 4K and 11K (up to 20x improvements) depending on the fault assumptions.

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

↑