Survive Under High Churn in Structured P2P Systems: Evaluation and Strategy

Zhiyu Liu, Ruifeng Yuan, Zhenhua Li, Hongxing Li, Guihai ChenInternational Conference on Computational Science 2006

Abstract

Structured Peer-to-Peer (P2P) networks, particularly Distributed Hash Tables (DHTs), are designed to handle node churn. However, massive simultaneous node failures—"high churn"—can lead to network fragmentation. This paper introduces the "crash point" metric to quantify the resilience of various P2P protocols. Through simulations of Chord, Kademlia, Tapestry, Koorde, and Kelips, we demonstrate that routing flexibility is a superior predictor of survival than raw neighbor count. Finally, we propose DARE (Detect Automatically and Rejoin Efficiently), a strategy to mitigate the "thundering herd" effect during network recovery.

Introduction

In P2P systems, "churn" refers to the continuous arrival and departure of nodes. While most protocols manage "ordinary churn" effectively through periodic stabilization, they often fail under "high churn" scenarios, such as large-scale power outages or coordinated attacks. This research addresses the lack of standardized metrics for comparing protocol resilience under extreme stress, focusing on the moment a network fundamentally fragments.

The Crash Point Metric

The authors define the crash point as the percentage ($x\%$) of nodes leaving simultaneously that results in a 50% failure rate for random lookups. A 50% success rate implies the network has split into two equal, disconnected components; a lower rate indicates the network has shattered into multiple isolated "islands." This metric provides a clear threshold for identifying when a network's internal self-healing mechanisms are no longer sufficient to maintain global connectivity.

Comparative Evaluation of P2P Protocols

Using the p2psim simulator with a 1,000-node network, the study evaluated five prominent protocols: Chord, Tapestry, Kademlia, Koorde, and Kelips.

Comparison of successful lookup ratios across different P2P protocols as node failure increases.

As shown in the figure above, Chord (ring-based) proved the most resilient, with a crash point near 80% node failure. Conversely, Tapestry (tree-based) and Koorde were the most fragile, reaching their crash points at approximately 50% failure. A key insight is that Kelips, despite maintaining a high number of neighbors (~60 per node), performed worse than Chord, which has fewer neighbors but greater routing flexibility.

Network Fragmentation Dynamics

The temporal behavior of these networks under stress reveals why standard stabilization fails. When a large portion of the network disappears, the remaining nodes often find themselves in sub-networks that cannot reach the rest of the keyspace.

Successful lookup ratio over time for various failure percentages.

The simulation results indicate that once the 50% threshold is crossed, the lookup success ratio stabilizes at a level significantly below 1.0 rather than fully recovering. This "point of no return" suggests that internal DHT maintenance routines are insufficient for reuniting a shattered network. As seen in the figure, for failure rates of 50% and above, the success ratio fails to return to its pre-crash state through internal mechanisms alone.

The DARE Strategy: Detect, Elect, Rejoin

To address these failures, the authors propose DARE (Detect Automatically and Rejoin Efficiently). DARE operates in three phases:

  1. Detecting: Nodes monitor their lookup success rates to identify a crash.
  2. Electing: If the success rate drops below 50%, nodes within a sub-network use an election algorithm (like the Bully algorithm) to choose a representative.
  3. Rejoining: Only the elected representative attempts to rejoin the main network via known entry points.

By using representatives, DARE prevents a "thundering herd" effect, where thousands of nodes simultaneously attempt to rejoin, potentially overwhelming the remaining stable infrastructure.

Conclusion

Resilience in P2P networks depends more on the flexibility of the topology than the density of the neighbor list. While Chord remains a robust baseline, the DARE strategy offers a structured way for fragmented networks to heal without causing further congestion. Future work will focus on the mathematical relationship between graph connectivity and lookup success to refine these recovery mechanisms.

Summary updated

BibTeX
@inproceedings{liu2006survive,
  author = {Zhiyu Liu and Ruifeng Yuan and Zhenhua Li and Hongxing Li and Guihai Chen},
  title = {{Survive Under High Churn in Structured P2P Systems: Evaluation and Strategy}},
  booktitle = {International Conference on Computational Science},
  year = {2006},
  doi = {10.1007/11758549\_58},
}
Figure