Skip to main content
Log in

Predicting the level of cooperation in a Peer-to-Peer live streaming application

  • Regular Paper
  • Published:
Multimedia Systems Aims and scope Submit manuscript

Abstract

The Peer-to-Peer (P2P) architecture has been successfully used to reduce costs and increase the scalability of Internet live streaming systems. However, the effectiveness of these applications depends largely on user (peer) cooperation. In this article we use data collected from SopCast, a popular P2P live application, to show that there is high correlation between peer centrality—out-degree, out-closeness, and betweenness—in the P2P overlay graph and peer cooperation. We use this finding to propose a new regression-based model to predict peer cooperation from its past centrality. Our model takes only peer out-degrees as input, as out-degree has the strongest correlation with peer cooperation. Our evaluation shows that our model has good accuracy and does not need to be trained too often (e.g., once each 16 min). We also use our model to sketch a mechanism to detect malicious peers that report artificially inflated cooperation aiming at, for example, receiving better quality of service.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Notes

  1. http://www.sopcast.com, http://www.pptv.com, and http://www.uusee.com.

  2. According to Google Trends (http://www.google.com/trends), SopCast received a larger number of searches than other popular applications of its kind, such as PPLive and UUSee, from April 2011 to November 2012.

  3. In several P2P live applications, such as CoolStreaming and PPLive, a centralized server (e.g., the tracker or a log server) periodically receives control messages from the active peers [4, 7].

  4. http://www.wireshark.org.

  5. Weibull: \(p_{X}(x)\) = \(\alpha \beta x^{\beta - 1} e^{-\alpha x^\beta }I_{(0, \infty )}(x)\).

  6. Exponential: \(p_{X}(x)\) = \(\lambda e^{-\lambda x }\).

  7. The variation is mostly due to the lack of stability of PlanetLab machines during the experiments.

  8. The lack of cooperation caused by opportunistic peers that choose not to forward data to their partners is not considered here.

  9. We also tested whether any causality relationship exists between peer out-degree and cooperation level applying the Granger causality test [40]. However, for the vast majority of the peers (over 80 %), we found no clear causality relationship from either out-degree to cooperation level or cooperation level to out-degree. This indicates that even though there is a strong association between out-degree and cooperation level, which can be exploited for prediction (as we do here), we cannot claim that any variable causes the other as both may be caused by a third (unknown) factor (or factor combination), which is external to our scope (e.g., some component of the SopCast protocol).

  10. http://www.r-project.org/.

  11. We here consider only the peers to which \(i\) uploaded data as these are the ones that contribute to \(i\)’s out-degree.

  12. Since the suspect peer may have established some valid partnerships with legitimate peers, we choose not to consider all other peers in its neighborhood as suspicious automatically. Instead, we label only peers with local clustering coefficients above \(\tau _m\) as suspect.

  13. Being a local metric, the clustering coefficient can be computed in a distributed monitoring infrastructure, such as the one proposed in [44].

References

  1. Hei, X., Liang, C., Liang, J., Liu, Y., Ross, K.: A measurement study of a large-scale P2P IPTV system. IEEE Trans. Multimed. 9(8), 1672–1687 (2007)

    Article  Google Scholar 

  2. Zhang, H., Ramchandran, K., Chen, M.: Scaling P2P content delivery systems reliably by exploiting unreliable system resources. IEEE Tech. Comm. Multimed. Commun. E-Lett. 4(11), 12–19 (2009)

  3. Li, H.C., Clement, A., Marchetti, M., Kapritsos, M., Robison, L., Alvisi, L., Dahlin, M.: FlightPath: obedience vs. choice in cooperative services. In: Proceedings of the 8th USENIX conference on operating systems design and implementation (OSDI’08), pp. 355–368 (2008)

  4. Li, B., Xie, S., Qu, Y., Keung, G., Lin, C., Liu, J., Zhang, X.: Inside the new coolstreaming: principles, measurements and performance implications. In: Proceedings of IEEE Conference on Computer Communications (INFOCOM’08), pp. 1031–1039 (2008)

  5. BitTorrent. http://www.bittorrent.com

  6. Cohen, B.: Incentives build robustness in bittorrent. In: Proceedings of Workshop on Economics of Peer-to-Peer Systems (P2PECON’03), pp. 68–72 (2003)

  7. Piatek, M., Krishnamurthy, A., Venkataramani, A., Yang, R., Zhang, D., Jaffe, A.: Contracts: practical contribution incentives for P2P live streaming. In: Proceedings of the 7th USENIX Conference on Networked Systems Design and Implementation (NSDI’10) (2010)

  8. Silverston, T., Fourmaux, O., Crowcroft, J.: Towards an incentive mechanism for Peer-to-Peer multimedia live streaming systems. In: Proceedings of the 8th International Conference on Peer-to-Peer Computing (P2P’08), pp. 125–128 (2008)

  9. Guerraoui, R., Huguenin, K., Kermarrec, A.-M., Monod, M., Prusty, S.: LiFTinG: Lightweight Freerider-tracking in gossip. In: Proceedings of the ACM/IFIP/USENIX 11th International Conference on Middleware (Middleware’10), pp. 313–333 (2010)

  10. Chatzidrossos, I., Dán, G., Fodor, V.: Server guaranteed cap: an incentive mechanism for maximizing streaming quality in heterogeneous overlays. In: Proceedings of 9th International IFIP Networking Conference (NETWORKING’10), pp. 315–326 (2010)

  11. Freeman, L.C.: Centrality in social networks conceptual clarification. Elsevier Soc. Netw. 1(3), 215–239 (1979)

    Article  Google Scholar 

  12. Wu, C., Li, B., Zhao, S.: Characterizing Peer-to-Peer streaming flows. IEEE J. Select. Areas Commun. 25(9), 1612–1626 (2007)

    Article  Google Scholar 

  13. Chun, B., Culler, D., Roscoe, T., Bavier, A., Peterson, L., Wawrzoniak, M., Bowman, M.: PlanetLab: an overlay testbed for broad-coverage services. ACM SIGCOMM Comput. Commun. Rev. 33(3), 3–12 (2003)

    Article  Google Scholar 

  14. Adar, E., Huberman, B.A.: Free riding on Gnutella. First Monday 5(10) (2014)

  15. Vishnumurthy, V., Chandrakumar, S., Sirer Karma, E.: A secure economic framework for P2P resource sharing. In: Proceedings of Workshop on Economics of Peer-to-Peer Systems (P2PECON’03) (2003)

  16. Tamilmani, K., Pai, V., Mohr, A.: SWIFT: a system with incentives for trading. In: Proceedings of Workshop on Economics of Peer-to-Peer Systems (P2PECON’04) (2004)

  17. Ngan, T.-W.J., Wallach, D.S., Druschel, P.: Incentives-compatible Peer-to-Peer multicast. In: Proceedings of Workshop on Economics of Peer-to-Peer Systems (P2PECON’04) (2004)

  18. Nandi, A., Ngan, T.-W.J., Singh, A., Druschel, P., Wallach, D.S.: Scrivener: providing incentives in cooperative content distribution systems. In: Proceedings of the ACM/IFIP/USENIX International Conference On Middleware (MIDDLEWARE’05), pp. 270–291 (2005)

  19. Mowbray, M., Brasileiro, F., Andrade, N., Santana, J., Cirne, W.: A reciprocation-based economy for multiple services in Peer-to-Peer grids. In: Proceedings of IEEE International Conference on Peer-to-Peer Computing (P2P’06) (2006)

  20. Levin, D., LaCurts, K., Spring, N., Bhattacharjee, B.: Bittorrent is an auction: analyzing and improving bittorrent’s incentives. In: Proceedings of the ACM SIGCOMM Conference on Data communication (SIGCOMM ’08), pp. 243–254 (2008)

  21. Xia, R., Muppala, J.: Discovering free-riders before trading: a simple approach. In: Proceedings of IEEE International Conference on Parallel and Distributed Systems (ICPADS’10), pp. 806–811 (2010)

  22. Sirivianos, M., Yang, X., Jarecki, S.: Robust and efficient incentives for cooperative content distribution. IEEE/ACM Trans. Netw. 17(6), 1766–1779 (2009)

    Article  Google Scholar 

  23. Chen, H., Jin, H., Sun, J., Deng, D., Liao, X.: Analysis of large-scale topological properties for Peer-to-Peer networks. In: Proceedings of IEEE International Symposium on Cluster Computing and the Grid (CCGRID’04), pp. 27–34 (2004)

  24. Vu, L., Gupta, I., Nahrstedt, K., Liang, J.: Understanding overlay characteristics of a large-scale Peer-to-Peer IPTV system. ACM Trans. Multimed. Comput. Commun. Appl. (TOMCCAP) 6(4), 31 (2010)

  25. Gonçalves, K., Vieira, A., Almeida, J., da Silva, A., Marques-Neto, H., Campos, S.: Characterizing dynamic properties of the sopcast overlay network. In: Proceedings of IEEE Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP’11), pp. 319–326 (2012)

  26. Delaviz, R., Andrade, N., Pouwelse, J.: Improving accuracy and coverage in an internet-deployed reputation mechanism. In: Proceedings of the IEEE International Conference on Peer-to-Peer Computing (P2P’10), pp. 1–9 (2010)

  27. Meulpolder, M., Pouwelse, J.A., Epema, D.H.J., Sips, H.J.: Bartercast: a practical approach to prevent lazy freeriding in p2p networks. In: Proc. of the 2009 IEEE International Symposium on Parallel & Distributed Processing (IPDPS’09), pp. 1–8 (2009)

  28. Gkorou, D., Pouwelse, J., Epema, D.: Betweenness centrality approximations for an internet deployed p2p reputation system. In: Proceedings of the IEEE International Symposium on Parallel and Distributed Processing Workshops and Phd Forum (IPDPSW’11), pp. 1627–1634 (2011)

  29. Tang, S., Lu, Y., Hernández, J.M., Kuipers, F., Mieghem, P.: Topology dynamics in a P2PTV network. In: Proceedings of International IFIP Networking Conference (NETWORKING’09), pp. 326–337 (2009)

  30. Wu, C., Li, B., Zhao, S.: Exploring large-scale Peer-to-Peer live streaming topologies. ACM Trans. Multimed. Comput. Commun. Appl. (TOMCCAP) 4(3), 1–23 (2008)

  31. Stutzbach, D., Rejaie, R., Sen, S.: Characterizing unstructured overlay topologies in modern P2P file-sharing systems. IEEE/ACM Trans. Netw. 16(2), 267–280 (2008)

    Article  Google Scholar 

  32. Magharei, N., Rejaie, R.: Overlay monitoring and repair in swarm-based Peer-to-Peer streaming. In: ACM Proceedings of International Workshop on Network and Operating Systems Support for Digital Audio and Video (NOSSDAV ’09), pp. 25–30 (2009)

  33. Gonçalves, G., Guimarães, A., Cunha, I., Borges, A., Almeida, J.: Using centrality metrics to predict peer cooperation in live streaming applications. In: Proceedings of International IFIP Networking Conference (NETWORKING’12), pp. 84–96 (2012)

  34. Zhang, X., Liu, J., Li, B., Yum, Y.-S.: Cool streaming/DONet: a data-driven overlay network for Peer-to-Peer live media streaming. In: Proceedings of IEEE Computer and Communications Societies (INFOCOM’05), pp. 2102–2111 (2005)

  35. Sentinelli, A., Marfia, G., Gerla, M., Kleinrock, L., Tewari, S.: Will IPTV ride the Peer-to-Peer stream? IEEE Commun. Mag. 45(6), 86–92 (2007)

    Article  Google Scholar 

  36. Tran, D.A., Hua, K.A., Do, T.T.: A Peer-to-Peer architecture for media streaming. IEEE J. Select Areas Commun. 22(1), 121–133 (2004)

    Article  Google Scholar 

  37. Borges, A., Gomes, P., Nacif, J., Mantini, R., Almeida, J.M., Campos, S.: Characterizing SopCast client behavior. Elsevier Comput. Commun. 35(8), 1004–1016 (2012)

    Article  Google Scholar 

  38. Locher, T., Moor, P., Schmid, S., Wattenhofer, R.: Free riding in BitTorrent is cheap. In: Proceedings of Hot Topics in Networks (HOTNETS’06) (2006)

  39. Kendall, M., Gibbons, J.: Rank Correlation Methods. 4th ed, Griffin (1975)

  40. Granger, C.W.J.: Investigating causal relations by econometric models and cross-spectral methods. Econometrica 37, 424–438 (1969)

    Article  Google Scholar 

  41. Jain, R.: The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling. 1st ed. Wiley, New York (1991)

  42. Schölkopf, B., Smola, A.J., Williamson, R.C., Bartlett, P.L.: New support vector algorithms. Neural Comput. 12(5), 1207–1245 (2000)

    Article  Google Scholar 

  43. Zhang, G.: Neural networks for classification: a survey. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 30(4), 451–462 (2000)

    Article  Google Scholar 

  44. Jin, X., Chan, S.-H.G.: Detecting malicious nodes in Peer-to-Peer streaming by peer-based monitoring. ACM Trans. Multimed. Comput. Commun. Appl. (TOMCCAP) 6(2), 1–18 (2010)

  45. Mekouar, L., Iraqi, Y., Boutaba, R.: Peer-to-Peer’s most wanted: malicious peers. Elsevier Comput. Netw. 50(4), 545–562 (2006)

    Article  MATH  Google Scholar 

  46. Watts, D.J., Strogatz, S.H.: Collect. Dyn. Small-World Netw. Nature 393(6684), 440–442 (1998)

    Article  Google Scholar 

  47. Douceur, J.R.: The Sybil attack. Springer Peer-to-Peer Systems, pp. 251–260 (2002)

  48. Ahn, L.V., Blum, M., Hopper, N.J., Langford, J.: CAPTCHA: using hard ai problems for security. In: Proceedings of International Conference on Theory and Applications of Cryptographic Techniques (EUROCRYPT’03), pp. 294–311 (2003)

  49. Ciccarelli, G., Cigno, R.L.: Collusion in Peer-to-Peer systems. Elsevier Comput. Netw. 55(15), 3517–3532 (2011)

    Article  Google Scholar 

  50. Gheorghe, G., Lo Cigno, R., Montresor, A.: Security and privacy issues in p2p streaming systems: a survey. In: Peer-to-Peer Networking and Applications, vol. 4, no. 2, pp. 75–91 (2011)

  51. Zghaibeh, M., Anagnostakis, K.G.: On the impact of p2p incentive mechanisms on user behavior. In: Proceedings of the Joint Workshop on the Economics of Networked Systems and Incentive-Based Computing (2007)

  52. A measure of betweenness centrality based on random walks 27(1), 39–54 (2005)

  53. Chang, H., Jamin, S., Wang, W.: Live streaming performance of the zattoo network. In: Proceedings of ACM SIGCOMM Conference on Internet Measurement Conference (IMC’09), pp. 417–429 (2009)

  54. Silverston, T., Fourmaux, O., Botta, A., Dainotti, A., Pescap, A., Ventre, G., Salamatian, K.: Traffic analysis of Peer-to-Peer IPTV communities. Comput. Netw. 53(4), 470–484 (2009)

    Article  Google Scholar 

  55. Ciullo, D., Garcia, M.A., Horvath, A., Leonardi, E., Mellia, M., Rossi, D., Telek, M., Veglia, P.: Network awareness of p2p live streaming applications: a measurement study. IEEE Trans. Multimed. 12(1), 54–63 (2010)

    Article  Google Scholar 

  56. Ali, S., Mathur, A., Zhang, H.: Measurement of commercial Peer-to-Peer live video streaming. In: Proceedings of Workshop in Recent Advances in Peer-to-Peer Streaming, pp. 1–12 (2006)

Download references

Acknowledgments

This research is partially funded by the Brazilian National Institute of Science and Technology for Web Research (MCT/CNPq/INCT Web Grant Number 573871/2008-6), and by the authors’ individual grants from CNPq, CAPES, and FAPEMIG.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ítalo Cunha.

Additional information

Communicated by R. Rejaie.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gonçalves, G.D., Cunha, Í., Vieira, A.B. et al. Predicting the level of cooperation in a Peer-to-Peer live streaming application. Multimedia Systems 22, 161–180 (2016). https://doi.org/10.1007/s00530-014-0434-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00530-014-0434-5

Keywords

Navigation