Introduction
In the realm of hybrid Content Delivery Network (CDN) and Peer-to-Peer (P2P) live streaming, the efficiency of content delivery hinges on the "Tracker"—the component responsible for selecting which peers should exchange video chunks. For decades, the industry has relied on the "locality dogma," assuming that peers within the same ISP or geographic city provide the best throughput. However, modern internet topologies, characterized by complex peering agreements and asymmetric routing, often defy these simple heuristics. This paper, a collaboration between Easybroadcast and Université Côte d’Azur, leverages a massive real-world dataset to challenge these assumptions and proposes a machine-learning-based approach to peer selection.
The Locality Myth
Traditional peer selection strategies prioritize local connections to minimize latency and maximize speed. However, analysis of 9 months of logs from a production IPTV service reveals that locality is frequently a suboptimal indicator of performance. In many instances, inter-ISP connections significantly outperform intra-ISP ones. For example, in one extreme case (ISP A), external connections were better 90% of the time.
Furthermore, network performance is often asymmetric; high throughput from ISP A to ISP B does not guarantee the same in reverse. These findings suggest that human-designed heuristics are insufficient for navigating the complexities of modern internet routing.
Machine Learning for Peer Selection
To address these inefficiencies, the authors framed peer selection as a regression problem, training models to predict expected throughput between peer pairs. Features included time of day, ISP, city, country, and continent for both sender and receiver. The study compared several models:
- Baselines: Random, ISP-only, and Geo-only selection.
- Classical ML: Linear Regression and Decision Trees.
- Deep Learning: Fully connected Neural Networks (NN).
A key finding was the necessity of continuous training. Due to the dynamic nature of internet routing, "one-shot" models quickly lost accuracy. Models retrained daily using a sliding window (e.g., 7 days) maintained high performance.
Key Results
The neural network model trained on a 7-day window (con-nn-7) emerged as the superior strategy. It achieved a 22.7% improvement in throughput over random selection and a 14.5% boost over standard ISP-based heuristics.
Beyond throughput, the ML-driven approach reduced end-to-end messaging latency by 18.6% and slashed chunk loss rates by nearly 30%. This reduction in chunk loss is particularly valuable for broadcasters, as it directly lowers CDN fallback costs. Notably, the model provided the most significant benefits to the slowest peers—the bottom 10% of users saw an 89% increase in throughput, drastically improving their Quality of Experience (QoE).
Conclusion
By moving beyond simple geographic and ISP-based heuristics, this research demonstrates that machine learning can significantly optimize peer selection in hybrid CDN-P2P systems. The proposed neural network approach not only boosts overall throughput and reliability but also specifically aids the most vulnerable users in the network. Future work will focus on managing the computational overhead of real-time deployment and balancing exploration with exploitation to ensure the models continue to learn from new network paths.
Summary updated