论文标题

Perigee:有效的区块链的对等网络设计

Perigee: Efficient Peer-to-Peer Network Design for Blockchains

论文作者

Mao, Yifan, Deb, Soubhik, Venkatakrishnan, Shaileshh Bojja, Kannan, Sreeram, Srinivasan, Kannan

论文摘要

区块链中的关键性能度量是何时广播交易与确认何时(所谓的确认延迟)之间的延迟。尽管共识技术的改进可以导致较低的确认延迟,但确认延迟的基本下限是消息通过基本的对等(P2P)网络的传播潜伏期(Inbitcoin,繁殖潜伏期为几十秒)。比特币和其他区块链使用的事实上的P2P协议基于随机连接:每个节点都连接到节点的随机子集。诱导的P2P网络拓扑可以是高度最佳的,因为它忽略了地理距离,带宽的差异,哈希功率和计算能力。我们提出了Perigee,这是一种分散的算法,它会自动学习一种有效的P2P拓扑结构,该拓扑调整了上述网络异质性,纯粹基于同龄人与邻居的互动。在有关多军匪徒问题的文献中,Perigee在保持与已知良好连接的邻居之间的联系与探索与以前无人看不见的邻居的新联系之间的权衡之间达到了最佳平衡。实验评估表明,Perigee将广播的延迟减少了$ 33 \%$。最后,Perigee是简单的,计算上的轻量级,对手的耐药性,并且与同龄人的自私利益兼容,使其成为区块链的有吸引力的P2P协议。

A key performance metric in blockchains is the latency between when a transaction is broadcast and when it is confirmed (the so-called, confirmation latency). While improvements in consensus techniques can lead to lower confirmation latency, a fundamental lower bound on confirmation latency is the propagation latency of messages through the underlying peer-to-peer (p2p) network (inBitcoin, the propagation latency is several tens of seconds). The de facto p2p protocol used by Bitcoin and other blockchains is based on random connectivity: each node connects to a random subset of nodes. The induced p2p network topology can be highly suboptimal since it neglects geographical distance, differences in bandwidth, hash-power and computational abilities across peers. We present Perigee, a decentralized algorithm that automatically learns an efficient p2p topology tuned to the aforementioned network heterogeneities, purely based on peers' interactions with their neighbors. Motivated by the literature on the multi-armed bandit problem, Perigee optimally balances the tradeoff between retaining connections to known well-connected neighbors, and exploring new connections to previously-unseen neighbors. Experimental evaluations show that Perigee reduces the latency to broadcast by $33\%$. Lastly Perigee is simple, computationally lightweight, adversary-resistant, and compatible with the selfish interests of peers, making it an attractive p2p protocol for blockchains.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源