Skip to main content
QUICK REVIEW

[Paper Review] Perigee: Efficient Peer-to-Peer Network Design for Blockchains

Yifan Mao, Soubhik Deb|arXiv (Cornell University)|Jun 25, 2020
Blockchain Technology Applications and SecurityComputer Science31 references5 citations
TL;DR

Perigee is a decentralized, multi-armed bandit-inspired protocol that dynamically optimizes peer-to-peer (P2P) network topology in blockchains to minimize block propagation latency. By balancing exploration of new neighbors and exploitation of high-performing ones based on latency feedback, Perigee reduces broadcast latency by 33% compared to random connectivity, even under heterogeneous network conditions.

ABSTRACT

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.

Motivation & Objective

  • To address the fundamental bottleneck of high block propagation latency in blockchain P2P networks, which limits transaction throughput and confirmation speed.
  • To design a decentralized, adaptive P2P topology selection protocol that accounts for network heterogeneities such as geographic distance, bandwidth, and node processing speed.
  • To minimize confirmation latency by optimizing peer connections without relying on global knowledge or centralized coordination.
  • To ensure compatibility with selfish peer incentives and resistance to adversarial behavior, such as Eclipse attacks.

Proposed method

  • Perigee uses a multi-armed bandit framework to model neighbor selection as a sequential decision problem, where each peer learns the best set of neighbors based on observed block propagation delays.
  • It maintains a score for each neighbor based on observed latency, using a UCB (Upper Confidence Bound) or subset-based scoring strategy to balance exploration and exploitation.
  • The protocol dynamically switches connections by discarding low-scoring neighbors and adding new ones based on performance feedback, without requiring global network state.
  • It is computationally lightweight and compatible with existing blockchain p2p architectures, requiring only local interaction logs and no changes to consensus or block formats.
  • The algorithm is designed to be resilient to adversarial peers by maintaining a small set of random neighbors to prevent total network takeover.
  • It operates purely based on peer interactions, making it fully decentralized and self-healing under churn or node failures.

Experimental results

Research questions

  • RQ1Can a decentralized, adaptive P2P topology selection protocol significantly reduce block propagation latency in permissionless blockchains?
  • RQ2How can peers learn optimal neighbor connections without global network knowledge, while accounting for heterogeneity in bandwidth, latency, and processing power?
  • RQ3To what extent does Perigee outperform random, geographic, or Kademlia-based topologies in reducing 90th-percentile block propagation delay?
  • RQ4How does Perigee perform under varying node processing delays, hash power imbalances, and fast relay networks?
  • RQ5What is the impact of maintaining random neighbors on resilience against Eclipse-style attacks?

Key findings

  • Perigee reduces block propagation latency by 33% compared to random connectivity in realistic network simulations with uniform hash power.
  • Perigee-Subset, a variant using subset-based neighbor scoring, outperforms UCB and vanilla versions, achieving the best performance in minimizing 90th-percentile delay.
  • In networks with high processing delays (10× default), Perigee’s performance degrades and approaches that of random topology, as network diameter becomes the dominant factor.
  • Perigee significantly reduces delay in fast relay networks (e.g., tree-structured, low-latency links) and in networks with high-hash-power mining pools, approaching the performance of a fully connected network.
  • Histogram analysis shows Perigee learns to favor low-latency intra-continental links, with most edges clustering around the lower mode of latency distribution, unlike random or geometric topologies.
  • The protocol maintains robustness under adversarial conditions due to the inclusion of random neighbors, which mitigates the risk of Eclipse attacks by limiting an adversary’s control over a peer’s neighborhood.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.