Skip to main content
QUICK REVIEW

[Paper Review] Stable, scalable, decentralized P2P file sharing with non-altruistic peers

Barlas Oğuz, Venkat Anantharam|arXiv (Cornell University)|Jul 15, 2011
Peer-to-Peer Network TechnologiesComputer Science1 references7 citations
TL;DR

This paper proposes a fully decentralized, stable P2P file-sharing protocol that avoids the rare chunk problem without relying on altruistic peers or centralized trackers. By using a probabilistic local rule that prioritizes downloading rare chunks based on sampled peer states, the authors prove global stability using a novel Lyapunov function, ensuring scalability and robustness even with non-altruistic peers and minimal seed contribution.

ABSTRACT

P2P systems provide a scalable solution for distributing large files in a network. The file is split into many chunks, and peers contact other peers to collect missing chunks to eventually complete the entire file. The so-called `rare chunk' phenomenon, where a single chunk becomes rare and prevents peers from completing the file, is a threat to the stability of such systems. Practical systems such as BitTorrent overcome this issue by requiring a global search for the rare chunk, which necessitates a centralized mechanism. We demonstrate a new system based on an approximate rare-chunk rule, allowing for completely distributed file sharing while retaining scalability and stability. We assume non-altruistic peers and the seed is required to make only a minimal contribution.

Motivation & Objective

  • To design a fully decentralized P2P file-sharing system that remains stable under non-altruistic peer behavior.
  • To eliminate reliance on centralized trackers or powerful seeds by replacing the rarest-chunk-first heuristic with a distributed, local rule.
  • To formally prove stability of the system using a novel Lyapunov function, overcoming limitations of prior fluid-model-based analyses.
  • To maintain scalability and robustness while ensuring all chunks remain available even with high peer arrival rates.
  • To generalize the stability proof beyond the 2-chunk case, providing a framework applicable to arbitrary numbers of chunks.

Proposed method

  • Peers sample up to m peers uniformly at random with replacement at Poisson rate 1.
  • Each peer selects and downloads a chunk only if it is missing and appears in the sample, using a rule that favors rare chunks based on local observations.
  • The protocol uses a strict local rule that increases the likelihood of downloading rare chunks, ensuring long-term chunk availability.
  • A novel Lyapunov function is constructed to formally prove global stability of the system under arbitrary chunk counts and arrival rates.
  • The method generalizes to any m ≥ 3, with performance trade-offs between locality and efficiency.
  • The stability proof is extended to the case where peers sample m peers, with bounds adjusted accordingly.

Experimental results

Research questions

  • RQ1Can a completely decentralized P2P file-sharing system remain stable when peers are non-altruistic and leave immediately after downloading?
  • RQ2Is it possible to replace the centralized tracker in BitTorrent’s rarest-chunk-first rule with a distributed, local rule that approximates the same behavior?
  • RQ3Can a formal stability proof be established for a P2P system with arbitrary numbers of chunks and Poisson peer arrivals?
  • RQ4Does a novel Lyapunov function exist that can capture the dynamics of rare-chunk preservation in such systems?
  • RQ5How does increasing the number of sampled peers (m) affect the trade-off between system complexity and performance?

Key findings

  • The proposed protocol achieves global stability in a fully decentralized P2P system with non-altruistic peers and a minimal seed contribution.
  • A novel Lyapunov function is constructed that proves stability for any number of chunks and arbitrary peer arrival rates.
  • The stability proof generalizes to cases where peers sample m > 3 peers, with performance trade-offs that can be tuned via m.
  • Simulations show the protocol reaches stable states comparable to or better than the rare-chunk rule, with m=5 or m=10 performing competitively.
  • The system remains stable even when all peers initially lack the same chunk, demonstrating resilience to severe imbalance.
  • The method provides a formal stability guarantee where prior work relied on simulations or heuristic arguments.

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.