Skip to main content
Log in

Cost and profit driven cloud-P2P interaction

  • Published:
Peer-to-Peer Networking and Applications Aims and scope Submit manuscript

Abstract

I consider two scenarios of prospective P2P-Cloud interaction. In the first one, client peers are interested in sharing video content with the help of the cloud. Due to a limited monetary budget, only a small fraction of the clients can have the content delivered directly via the cloud servers. The rest need to engage in a mesh-pull P2P broadcast to exchange the content among them. I propose a novel algorithm for constructing an equicentric distribution overlay, where peer neighborhoods exhibit homogenous latencies relative to the cloud. I demonstrate that the resulting topology exhibits the small-world property, and leads to increased data sharing and reduced play-out latency of the content among the peers. The clients are further equipped with a novel utility-driven packet scheduling strategy, where the packet’s utility is driven by its importance for the video reconstruction quality at the destination client and its rarity within the respective peer neighborhood. My simulation results show that the proposed protocols enhance the performance of a reference P2P broadcast system. Significant improvement in terms of average video quality is demonstrated over conventional solutions due to the proposed packet scheduling. The mesh construction strategy enables additional benefits in terms of frame-freeze frequency and play-out latency reduction, relative to the common approach of random peer selection. These lead to corresponding gains in video quality due to the improved continuity of the playback experience. The second scenario I investigate considers hybrid P2P-Cloud operation where the clients can lease computing resources to the cloud in exchange forprofit. I design cooperative and noncooperative strategies that the cloud and the clients can follow in order to maximize their respective objective functions, independently or jointly.

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

Similar content being viewed by others

Notes

  1. A node is connected to every other other node in the cluster.

  2. The Jacobian of this transformation has a unity modulus.

  3. Recall that a smaller |δ|implies a higher likelihood of cooperation (sharing).

  4. The likelihood of receiving \(l_{m_{j}}\) on time from any neighbor is zero.

  5. A monopsony is a market in which there is a single buyer (see, e.g., [9]).

  6. Equivalent to greedy scheduling from Section 2 (Expected Deadline First).

References

  1. PPLive Homepage, http://www.pplive.com/

  2. PPStream Homepage, http://www.ppstream.com/

  3. Zhang X, Liu J, Li B, Yum T-S (2005) CoolStreaming/DONet: a data-driven overlay network for efficient live media streaming. In: Proceedings conference on computer communications (INFOCOM), vol 3. IEEE, Miami, pp 2102–2111

  4. Zattoo Inc. - Watch online TV, http://www.zattoo.com

  5. Stevens W (1994) TCP/IP illustrated: the protocols, vol 1. Addison-Wesley, Boston

    Google Scholar 

  6. David HA, Nagaraja HN (2003) Order statistics, 3rd edn. Wiley-Interscience

  7. Liu Z, Shen Y, Ross K, Panwar S, Wang Y (2008) Substream trading: towards an open P2P live streaming system. In: Proceedings international conference on network protocols. IEEE, Orlando, pp 94–103

  8. Pianese F, Perino D, Keller J, Biersack E (2007) PULSE: an adaptive, incentive-based, unstructured P2P live streaming system. IEEE Trans Multimedia 9(8):1645–1660

    Article  Google Scholar 

  9. Varian HR (1992) Microeconomic analysis, 3rd edn. W. W. Norton & Company, New York

    Google Scholar 

  10. ITU-T and ISO/IEC JTC 1 (2005) Advanced video coding for generic audiovisual services, amendment 3: scalable video coding. Draft ITU-T recommendation H.264 - ISO/IEC 14496-10(AVC)

  11. Jack K (2007) Video demystified: a handbook for the digital engineer, 5th edn. Newnes, Burlington

    Google Scholar 

  12. Castro M, Druschel P, Kermarrec A-M, Nandi A, Rowstron A, Singh A (2003) Splitstream: high-bandwidth multicast in a cooperative environment. In: Proceedings symposium operating systems principles. ACM, Bolton Landing, pp 298–313

  13. Padmanabhan V, Wang H, Chou P (2003) Resilient peer-to-peer streaming. In: Proceedings international conference on network protocols. IEEE, Atlanta, pp 16–17

  14. Chen J, Chan S-HG, Li VOK (2004) Multipath routing for video delivery over bandwidth-limited networks. IEEE J Sel Areas Commun 22(10):1920–1932

    Article  Google Scholar 

  15. Liao X, Jin H, Liu Y, Ni LM, Deng D (2006) Anysee: peer-to-peer live streaming. In: Proceedings conference on computer communications (INFOCOM). IEEE, Barcelona, pp 1–10

  16. KaZaA Homepage, http://www.kazaa.com/

  17. BitTorrent Homepage, http://www.bittorrent.com/

  18. Bollobás B (2001) Random graphs, 2nd edn. Cambridge University Press, New York

    Book  MATH  Google Scholar 

  19. Spoto S, Gaeta R, Grangetto M, Sereno M (2009) Analysis of PPLive through active and passive measurements. In: Proceedings international symposium parallel & distributed processing. IEEE Computer Society, Rome

    Google Scholar 

  20. Li R, Gao G, Xiao W, Xu Z (2011) Measurement study on PPLive based on channel popularity. In: Proceedings conference communication networks and services research. IEEE Computer Society, Ottawa, pp 18–25

    Google Scholar 

  21. Su X, Chang L (2008) A measurement study of PPStream. In: Proceedings international conference communications and networking in China. IEEE, Hangzhou, pp 1162–1166

    Google Scholar 

  22. Chang H, Jamin S, Wang W (2009) Live streaming performance of the Zattoo network. In: Proceedings internet measurement conference. ACM SIGCOMM, Chicago, pp 417–429

    Google Scholar 

  23. Liu Y, Xiao L, Liu X, Ni LM, Zhang X (2005) Location awareness in unstructured peer-to-peer systems. IEEE Trans Parallel Distrib Syst 16(2):163–174

    Article  Google Scholar 

  24. Magharei N, Rejaie R (2006) Understanding mesh-based peer-to-peer streaming. In: Proceedings international workshop on network and operating systems support for digital audio and video (NOSSDAV). ACM, Newport, pp 56–61

    Google Scholar 

  25. Liang C, Liu Y (2011) Enabling broadcast of user-generated live video without servers. In: Peer-to-peer networking and applications

  26. Zhou Y, Chiu DM, Lui JCS (2007) A simple model for analyzing P2P streaming protocols. In: Proceedings international conference on network protocols. IEEE, Beijing, pp 226–235

    Google Scholar 

  27. Gnutella, http://en.wikipedia.org/wiki/Gnutella

  28. Saroiu S, Gummadi KP, Dunn RJ, Gribble SD, Levy HM (2002) An analysis of internet content delivery systems. In: Proceedings 5th symposium operating systems design and implementation. USENIX, Boston

    Google Scholar 

  29. Sen S, Wang J (2004) Analyzing peer-to-peer traffic across large networks. IEEE/ACM Trans Netw 12(2):219–232

    Article  Google Scholar 

  30. Ripeanu M, Foster I, Iamnitchi A (2002) Mapping the Gnutella network: properties of large-scale peer-to-peer systems and implications for system design. IEEE Internet Comput 6(1):50–57

    Article  Google Scholar 

  31. Krishnamurthy B, Wang J (2001) Topology modeling via cluster graphs. In: Proceedings 1st workshop on internet measurement. ACM SIGCOMM, San Francisco, pp 19–23

    Google Scholar 

  32. Padmanabhan VN, Subramanian L (2001) An investigation of geographic mapping techniques for internet hosts. In: Proceedings data communication, annual conference series (SIGCOMM). ACM, San Diego, pp 173–185

    Google Scholar 

  33. Xu Z, Tang C, Zhang Z (2003) Building topology-aware overlays using global soft-state. In: Proceedings 23rd international confee distributed computing systems. IEEE Computer Society, Providence, pp 500–508

    Google Scholar 

  34. Dabek F, Cox R, Kaashoek F, Morris R (2004) Vivaldi: a decentralized network coordinate system. In: Proceedings data communication, annual conference series (SIGCOMM). ACM, Portland, pp 15–26

    Google Scholar 

  35. Li Z, Huang J, Katsaggelos AK (2007) Content reserve utility based video segment transmission scheduling for peer-to-peer live video streaming system. In: Proceedings 45th Allerton conference on communications, control, and computing. IEEE, Monticello, pp 563–567

    Google Scholar 

  36. Chen F (2004) A utility-based approach to scheduling multimedia streams in peer-to-peer systems. In: Proceedings 18th international symposium parallel and distributed processing. IEEE Computer Society, Santa Fe

    Google Scholar 

  37. von Stackelberg H (2010) Market structure and equilibrium, 1st edn. Springer

  38. Başar T, Srikant R (2002) A stackelberg network game with a large number of followers. J Optim Theory Appl 115(3):479–490

    Article  MATH  MathSciNet  Google Scholar 

  39. Suris JE, DaSilva LA, Han Z, MacKenzie AB, Komali RS (2009) Asymptotic optimality for distributed spectrum sharing using bargaining solutions. IEEE Trans Wirel Commun 8(10):5225–5237

    Article  Google Scholar 

  40. Casella G, Berger RL (2001) Statistical inference, 2nd edn, ser. Duxbury Advanced Series. Cengage Learning, Independence

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jacob Chakareski.

Appendix A: Statistics of minimum latency spread neighborhood

Appendix A: Statistics of minimum latency spread neighborhood

For ease of presentation, I normalize the interval x m i n , x m a x to the unit range 0, 1. This restricts the support of the functions f(x) and F(x) to the latter interval, which in turn allows for further simplification. Specifically, the integral I(w r s ) in Eq. 13 reduces to

$$\begin{array}{@{}rcl@{}} I(w_{rs}) & = & C_{rs} \int_{0}^{1} y^{r-1}(1-y)^{N-s} dy \\ & = & \frac{1}{B(s-r,N-s+r+1)} \, , \end{array} $$
(27)

where the constant B(a, b) is known as the Beta function [40]. Consequently, f(w r s ) in Eq. 12 be comes the density of a beta β(sr, Ns + 1 + 1) random variable. Given the above, the pdf of W r s(1) obtains the following form:

$$ f_{W_{rs(1)}}(w){\kern-1.5pt}={\kern-1.5pt}\frac{1}{B(1,N)}(1{\kern-1.5pt}-{\kern-1.5pt}I_{w}(s{}-{}r,N{}-{}s+r+1))^{N-1} f(w_{rs}), $$
(28)

where I x (a, b) in Eq. 28 denotes the incomplete beta function [40] that is defined as

$$ I_{x}(a,b) = \frac{1}{B(a,b)} \int_{0}^{x} t^{a-1}(1-t)^{b-1} dt \, . $$

The above integral can be solved, in the case of integer a and b, by using integration by parts. For completeness, I include the solution below

$$ I_{x}(a,b) = \sum_{j = a}^{a+b-1} \frac{(a + b - 1)!}{j! \, (a+b-1-j)!} \, x^{j} \, (1-x)^{a+b-1-j} . $$

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chakareski, J. Cost and profit driven cloud-P2P interaction. Peer-to-Peer Netw. Appl. 8, 244–259 (2015). https://doi.org/10.1007/s12083-013-0235-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12083-013-0235-1

Keywords

Navigation