Distributed online flash-crowd detection in P2P swarming systems

Peer-to-peer applications generate most of the Internet traffic and have become an important determining factor for upgrading Internet backbone capacity. It is thus important to assure that these systems attain high performance and deliver good quality of service to their users. Thus, apart from off-line analysis of traces, online mechanisms for estimating real-time changes of the network characteristics (i.e., network size, churn, failures, etc.) are needed to enable the design of adaptive algorithms. In this paper we focus on the problem of online detection of the flash-crowd phenomenon, defined as a sudden, unexpected increase in the number of peers requesting a piece of content. The main contribution of the paper is made out of two distributed algorithms that allow peers to detect flash-crowds, using a gossiping alike protocol. To the best of our knowledge, this is the first online detection method for the flash-crowd phenomenon. We base our algorithms on a modified version of gossiping, where peers are requested to periodically, asynchronously, reset their local mass variable. By using different reset values for the joining nodes, the algorithms create distributed network aggregates that reflect the sudden relative increase in network size (as part of FlashDetect algorithm) or the absolute network size (as part of TrackerNetSize algorithm). We analyze the performance of the proposed algorithms and perform extensive simulations to showcase their behavior on both synthetic data as well as real-world traces. The results show that our proposed solution performs very well in both cases, achieving high detection rates of the flash-crowd phenomenon within short time intervals while keeping the traffic load at a minimum. Additionally, the comparison with related work shows that TrackerNetSize achieves similar results with current state-of-the-art network size estimation algorithms, while making use of a significantly reduced assumption set (in particular, the peers do not have to be synchronized and, tracking the departing peers is not required).

[1]  Bo Li,et al.  How P2P streaming systems scale over time under a flash crowd? , 2009, IPTPS.

[2]  Arthur L. Liestman,et al.  A survey of gossiping and broadcasting in communication networks , 1988, Networks.

[3]  Mihaela van der Schaar,et al.  Reinforcement learning in BitTorrent systems , 2010, 2011 Proceedings IEEE INFOCOM.

[4]  Srinivasan Seshan,et al.  Synopsis diffusion for robust aggregation in sensor networks , 2004, SenSys '04.

[5]  Tamás Vinkó,et al.  Bandwidth allocation in BitTorrent-like VoD systems under flashcrowds , 2011, 2011 IEEE International Conference on Peer-to-Peer Computing.

[6]  Mikel Izal,et al.  Dissecting BitTorrent: Five Months in a Torrent's Lifetime , 2004, PAM.

[7]  Bo Li,et al.  An Empirical Study of Flash Crowd Dynamics in a P2P-Based Live Video Streaming System , 2008, IEEE GLOBECOM 2008 - 2008 IEEE Global Telecommunications Conference.

[8]  Farnam Jahanian,et al.  Internet inter-domain traffic , 2010, SIGCOMM '10.

[9]  Anne-Marie Kermarrec,et al.  Peer counting and sampling in overlay networks: random walk methods , 2006, PODC '06.

[10]  Stephen P. Boyd,et al.  Randomized gossip algorithms , 2006, IEEE Transactions on Information Theory.

[11]  Alexandru Iosup,et al.  The peer-to-peer trace archive: design and comparative trace analysis , 2010, CoNEXT '10 Student Workshop.

[12]  Yan Yang,et al.  Improving QoS in BitTorrent-like VoD Systems , 2010, 2010 Proceedings IEEE INFOCOM.

[13]  Pekka Nikander,et al.  Innovation and the Next Generation Internet , 2010, 2010 INFOCOM IEEE Conference on Computer Communications Workshops.

[14]  Johannes Gehrke,et al.  Gossip-based computation of aggregate information , 2003, 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings..

[15]  Stefan Dulman,et al.  FailDetect: Gossip-Based Failure Estimator for Large-Scale Dynamic Networks , 2011, 2011 Proceedings of 20th International Conference on Computer Communications and Networks (ICCCN).

[16]  Venkata N. Padmanabhan,et al.  Analyzing and Improving a BitTorrent Networks Performance Mechanisms , 2006, Proceedings IEEE INFOCOM 2006. 25TH IEEE International Conference on Computer Communications.

[17]  Márk Jelasity,et al.  Gossip-based aggregation in large dynamic networks , 2005, TOCS.

[18]  Suman Nath,et al.  Tributaries and deltas: efficient and robust aggregation in sensor network streams , 2005, SIGMOD '05.

[19]  Chuan Wu,et al.  Multi-Channel Live P2P Streaming: Refocusing on Servers , 2008, IEEE INFOCOM 2008 - The 27th Conference on Computer Communications.

[20]  B. Cohen,et al.  Incentives Build Robustness in Bit-Torrent , 2003 .

[21]  Christos Gkantsidis,et al.  Random walks in peer-to-peer networks , 2004, IEEE INFOCOM 2004.

[22]  Niklas Carlsson,et al.  Toward Efficient On-Demand Streaming with BitTorrent , 2010, Networking.

[23]  Anne-Marie Kermarrec,et al.  NAT-resilient Gossip Peer Sampling , 2009, 2009 29th IEEE International Conference on Distributed Computing Systems.

[24]  Johan A. Pouwelse,et al.  The Bittorrent P2P File-Sharing System: Measurements and Analysis , 2005, IPTPS.

[25]  Nazareno Andrade,et al.  Peer Selection Strategies for Improved QoS in Heterogeneous BitTorrent-Like VoD Systems , 2010, 2010 IEEE International Symposium on Multimedia.

[26]  Indranil Gupta,et al.  Active and passive techniques for group size estimation in large-scale and dynamic distributed systems , 2007, J. Syst. Softw..

[27]  Johan A. Pouwelse,et al.  Public and private BitTorrent communities: a measurement study , 2010, IPTPS.

[28]  Ravi Jain,et al.  An Experimental Study of the Skype Peer-to-Peer VoIP System , 2005, IPTPS.

[29]  Konrad Iwanicki,et al.  On hierarchical routing in wireless sensor networks , 2009, 2009 International Conference on Information Processing in Sensor Networks.

[30]  Wei Hong,et al.  Proceedings of the 5th Symposium on Operating Systems Design and Implementation Tag: a Tiny Aggregation Service for Ad-hoc Sensor Networks , 2022 .

[31]  Lars-Erik Eriksson,et al.  P2P-NEXT : Technical and legal challenges , 2009 .

[32]  Xiaoning Ding,et al.  A performance study of BitTorrent-like peer-to-peer systems , 2007, IEEE Journal on Selected Areas in Communications.

[33]  Stefan Dulman,et al.  ChurnDetect: A Gossip-Based Churn Estimator for Large-Scale Dynamic Networks , 2011, Euro-Par.

[34]  Alexandros G. Dimakis,et al.  The Impact of Mobility on Gossip Algorithms , 2012, IEEE Transactions on Information Theory.

[35]  Alexandru Iosup,et al.  Identifying, analyzing, and modeling flashcrowds in BitTorrent , 2011, 2011 IEEE International Conference on Peer-to-Peer Computing.