NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SNAP: SNowbAll multi-tree Pushing for Peer-to-Peer Media Streaming

Jun Luo · DOI

Abstract

Given the respective advantages of the two complimentary techniques for peer-to-peer media streaming (namely tree-based push and mesh-based pull), there is a strong trend of combining them into a hybrid streaming system. Backed by recently proposed mechanisms to identify stable peers, such a hybrid system usually consists of backbone trees formed by the stable peers and other overlay structures in the second tier to accommodate the remaining peers. In this paper, we embrace the hybrid push-pull structure for peer-to-peer media streaming. Our protocol is dominated by a multi-tree push mechanism to minimize the delay in the backbone and is complemented by other overlay structures to cope with peer dynamics. What mainly distinguishes our multi-tree pushing from the conventional ones is an unbalanced tree design guided by the so-called snow-ball streaming, which has a provable minimum delay and can be smoothly "melded" with virtually any other existing overlay structures lying in the second tier. We design algorithms to construct and maintain our SNowbAll multi-tree Pushing (SNAP) overlay, and we also illustrate how to smoothly weld the SNAP backbone with the second tier. Finally, we perform simulations in ns-2; the results indicate that our approach outperforms a recently proposed hybrid streaming system.

Introduction

Peer-to-Peer (P2P) media streaming systems typically face a trade-off between the low delay of tree-based push mechanisms and the robustness of mesh-based pull systems. While hybrid architectures—using stable peers as a backbone to push data to transient peers—are becoming standard, most are optimized for packet-level streaming. In reality, P2P systems handle data in chunks, where transmission time ($t$) is significant relative to propagation delay ($d$). Traditional "optimal" trees often fail in this chunk-based regime. This paper introduces SNAP (SNowbAll multi-tree Pushing), which implements a practical version of the theoretical "snowball" algorithm to achieve minimum chunk-delivery delay.

The SNAP Protocol

The core innovation of SNAP is the mapping of the snowball algorithm into a practical multi-tree architecture.

Snowball Tree (SBT) Structure

Unlike traditional trees where a parent sends data to children sequentially, an SBT ensures that every peer receiving a chunk immediately becomes a source for others in a geometric progression (1, 2, 4, 8...). This maximizes the "pipelining" effect. As shown in the comparison below, the snowball structure significantly reduces the maximum delay ($D_{max}$) compared to traditional packet-optimized trees when transmission time is non-negligible.

Comparison between the Optimal Packet Streaming Tree and the Snowball Tree, highlighting the delay reduction in chunk-based streaming.

Multi-Tree Construction and Hybrid Integration

To support continuous streaming without creating upload bottlenecks, SNAP constructs a set of $P$ distinct, unbalanced trees. A novel grouping mechanism called Independent Sets (ISets) ensures that backbone peers can upload concurrently.

Furthermore, SNAP is designed as a "Tier 1" backbone that can be "welded" to various "Tier 2" structures. This flexibility allows it to support mesh-pull systems for transient peers or hierarchical sub-trees using Layered Coding (LC) for lower-bandwidth users, as illustrated in the following integration strategies.

SNAP integration strategies: (a) SNAP plus mesh, (b) SNAP in SNAP, and (c) OPST in SNAP.

Evaluation

The authors evaluated SNAP using the ns-2 network simulator on a transit-stub network topology with up to 500 nodes. Peer session lengths followed a Pareto distribution to simulate realistic churn.

Key Results

  • Reduced Latency: SNAP+PPLive reduced 90th percentile startup latency to ~40 seconds, compared to ~100 seconds for pure PPLive. Median playback delay was reduced from 150 seconds to 80 seconds.
  • Superior Efficiency: SNAP consistently outperformed LBTree+PPLive, confirming that snowball-inspired unbalanced trees are superior to heuristic-based backbone trees for chunk delivery.
  • Manageable Overhead: While maintaining a complex structure requires more control messages, the overhead remains negligible if backbone peers are stable.

Conclusion and Future Work

SNAP demonstrates that the theoretical benefits of snowball streaming can be realized in a distributed P2P environment. While challenges remain in handling extreme bandwidth heterogeneity and scaling to millions of nodes, the protocol offers a significant performance boost for hybrid streaming systems. Future work includes real-world deployment at Nanyang Technological University to test performance against actual cross-traffic and NAT traversal.

Summary updated

BibTeX
@misc{luo2010snap,
  author = {Jun Luo},
  title = {{SNAP: SNowbAll multi-tree Pushing for Peer-to-Peer Media Streaming}},
  year = {2010},
  eprint = {1009.2282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1009.2282},
}
Figure