Abstract
Peer-to-Peer (P2P) assisted content delivery offers a promising solution for offloading server traffic in Video on Demand (VoD) services. However, real-world constraints—such as the need for ISP-friendliness, bitrate stratification, and user participation rates—threaten to fragment swarms and reduce efficiency. This paper evaluates the feasibility of a hybrid CDN-P2P architecture using a massive, month-long trace from BBC iPlayer. We demonstrate that despite these fragmentation factors, a system leveraging the "online while you watch" model can achieve up to 88% server traffic savings. Furthermore, we show that simple client-side caching of recently viewed content significantly outperforms proactive content bundling in enhancing swarm capacity.
Introduction
As the demand for high-quality Video on Demand (VoD) continues to grow, Content Delivery Networks (CDNs) face increasing pressure to manage bandwidth costs and server load. Hybrid architectures that supplement traditional server-based delivery with P2P swarming have proven successful for live streaming and file downloads. However, VoD presents a unique challenge: because users arrive asynchronously to watch content at different times, the temporal overlap required for effective P2P sharing is often missing.
Beyond temporal issues, production environments introduce several "obstacle factors" that fragment user populations into smaller, potentially inefficient sub-swarms. These include the requirement for ISP-friendliness (restricting sharing to within the same network to avoid ISP penalties) and bitrate stratification (where users on different quality levels cannot share data). This study investigates whether these real-world constraints destroy the viability of P2P-assisted VoD at scale.
Methodology
To evaluate these challenges, we utilized a combination of analytical modeling and trace-driven simulations based on a massive dataset from BBC iPlayer.
Dataset
The study utilizes a month-long trace from September 2013, localized to London. The dataset comprises:
- 2.2 million unique users
- 1.3 million IP addresses
- 15.9 million viewing sessions
This represents a realistic, production-scale workload for long-duration content (typically 30–60 minute television episodes).
Modeling and Simulation
We modeled P2P swarms as an M/G/$\\infty$ queuing system to mathematically relate swarm capacity (the number of concurrent users) to traffic gain (the percentage of server traffic saved). We then developed an event-driven simulator to replay the BBC iPlayer sessions.
Crucially, the simulation assumes an "online while you watch" model, where peers only upload content while they are actively streaming. We applied various fragmentation constraints—splitting swarms by ISP and bitrate—and tested two potential interventions to boost availability: content bundling (grouping related episodes) and historic caching (allowing peers to seed previously watched episodes from a local cache).
The Resilience of Large-Scale Swarms
Our analysis reveals that the "online while you watch" model is particularly effective for long-duration content. Because users remain in the swarm for 30 to 60 minutes, they provide a stable source of content for others, offsetting the asynchronous nature of VoD arrivals.
While fragmentation by ISP and bitrate sounds potentially disastrous, the "Heavy Tail" nature of internet usage mitigates the impact. Our data shows that the top five ISPs account for over 70% of users, and the top two bitrates account for 70% of sessions. Consequently, even after splitting the global swarm into sub-swarms based on these factors, the resulting groups remain large enough to maintain high efficiency. Furthermore, bitrate stratification is less of an obstacle than feared because 65% of users maintain a stable bitrate throughout their session.
Optimization: Caching vs. Bundling
We explored two methods for increasing content availability:
- Proactive Content Bundling: Grouping episodes together so that a user watching Episode 1 might pre-fetch or share parts of Episode 2. Our results show this is largely ineffective; the bandwidth wasted by downloading unrequested content from the server often exceeds the P2P savings.
- Historic Caching: Allowing clients to keep the last 10 watched items in a local cache to seed to other users. This proved highly effective, increasing swarm capacity by a factor of 10x and improving overall traffic savings by up to 23%.
Key Results and Findings
- High Efficiency: Even with strict ISP-friendliness and bitrate stratification, the system achieved up to 88% server traffic savings across the entire content corpus.
- Sensitivity to Participation: The system is most vulnerable to low participation rates and strict minimum swarm size requirements. If only 10% of users participate, or if the system requires a large minimum number of peers before enabling P2P, traffic gains drop significantly, particularly for less popular "tail" content.
- ISP-Friendliness is Viable: Restricting traffic to stay within an ISP's network does not significantly degrade performance for major ISPs, making the system "friendly" to network operators without sacrificing CDN offloading goals.
Conclusion
This study demonstrates that P2P-assisted VoD is highly viable for long-duration content, even under the constraints of real-world deployment. The natural viewing behavior of users watching full-length programs creates sufficient temporal overlap to sustain massive traffic offloading. While the 2013 dataset reflects a specific historical moment, the underlying principles—the heavy-tail distribution of ISP market share and the effectiveness of reactive caching—remain relevant for modern streaming architectures. Future implementations should focus on securing user participation and implementing lightweight DRM heartbeats to support the "online while you watch" seeding model.
Summary updated