Skip to main content
Log in

An analysis of peer-to-peer networks with altruistic peers

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

Abstract

We develop a new model of the interaction of rational peers in a Peer-to-Peer (P2P) network that has at its heart altruism, an intrinsic parameter reflecting peers’ inherent willingness to contribute. Two different approaches for modelling altruistic behavior and its attendant benefit are introduced. With either approach, we use Game Theoretic analysis to calculate Nash equilibria and predict peer behavior in terms of individual contribution. We consider the cases of P2P networks of peers that (i) have homogeneous altruism levels or (ii) have heterogeneous altruism levels, but with known probability distributions. We find that, under the effects of altruism, a substantial fraction of peers will contribute when altruism levels are within certain intervals, even though no incentive mechanism is used. Our results corroborate empirical evidence of large P2P networks surviving or even flourishing without or with barely functioning incentive mechanisms. We also enhance the model with a simple but powerful incentive scheme to limit free-riding and increase contribution to the network, and show that the particular incentive scheme on networks with altruistic peers achieves its goal.

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

Similar content being viewed by others

Notes

  1. For some important differences of P2P network contribution from the typical public goods context, see for example [23].

  2. We drop this assumption in Section 7.

  3. This assumption may not be appropriate for “bots” demanding to download any available content without limitations.

  4. This means that some portion of the demand of node i gets directed to each node with content of non-zero benefit to i.

  5. See Chapter 3 of [31] and Chapters 2 and 8 of [32].

  6. The free-riding percentage of 70% has been observed in real P2P networks, e.g., Gnutella [1].

  7. This information could be recorded and stored in an encrypted format, so that it could be used by the incentive mechanism when needed.

  8. Without loss of generality we ignore the fraction of peers that have altruism parameter exactly equal to L 1.

References

  1. Adar E, Huberman BA (2000) Free riding on gnutella. First Monday 5(10)

  2. Andreoni J (1990) Impure altruism and donations to public goods: a theory of warm-glow giving. Econ J 100:464–477

    Article  Google Scholar 

  3. Bergstrom T, Blume L, Varian H (1986) On the private provision of public goods. J Public Econ 25:25–49

    Article  Google Scholar 

  4. BitTorrent (2008) BitTorrent.org homepage. http://www.bittorrent.org

  5. Buragohain C, Agrawal D, Suri S (2003) A game theoretic framework for incentives in p2p systems. In: Proceedings of 3rd international conference on peer-to-peer computing, Linköping, 1–3 September 2003

  6. Courcoubetis C, Weber R (2005) Incentives for large peer-to-peer systems. IEEE J Sel Areas Commun 24:1034–1050

    Article  Google Scholar 

  7. Deci E (1975) Effects of externally mediated rewards on intrinsic motivation. J Pers Soc Psychol XVIII:105–115

    Google Scholar 

  8. eMule (2008) eMule homepage. http://www.emule-project.net

  9. Fehr E, Gachter S (2001) Do incentive contracts crowd out voluntary cooperation? CEPR Discussion Papers 3017

  10. Fehr E, Rockenbach B (2003) Detrimental effects of sanctions on human altruism. Nature 422:137–140

    Article  Google Scholar 

  11. Feldman M, Chuang J (2005) Overcoming free-riding behavior in peer-to-peer systems. ACM SIGecom Exchanges 5:41–50

    Article  Google Scholar 

  12. Feldman M, Papadimitriou C, Chuang J, Stoica I (2004) Free-riding and whitewashing in peer-to-peer systems. In: Proceedings of SIGCOMM workshop on practice and theory of incentives and game theory in networked systems, New York, August 2004

  13. Freenet (2008) Freenet homepage. http://freenetproject.org

  14. Frey B, Oberholzer-Gee F, Eichenberger R (1996) The old lady visits your backyard: a tale of morals and markets. J Polit Econ CIV:1297–1313

    Article  Google Scholar 

  15. Gneezy U, Rustichini A (2000) Pay enough or don’t pay at all. Q J Econ 791–810

  16. Gnutella (2009) Gnutella forums homepage. http://www.gnutelliums.com

  17. Golle P, Leyton-Brown K, Mironov I, Lillibridge M (2001) Incentives for sharing in peer-to-peer networks. In: Proceedings of 2nd international workshop on electronic commerce (WELCOM 2001), vol 2232, Heidelberg, November 2001, pp 75–87

  18. Gupta R, Somani AK (2005) Game theory as a tool to strategize as well as predict nodes’ behavior in peer-to-peer networks. In: Proceedings of 11th international conference on parallel and distributed systems, Fukuoka, July 2005

  19. Hales D (2004) From selfish nodes to cooperative networks—emergent link-based incentives in peer-to-peer networks. In: Proceedings of the 4th international conference on peer-to-peer computing, Zürich, 25–27 August 2004

  20. Jian L, MacKie-Mason J (2006) Why share in peer-to-peer networks? In: Proceedings of the first workshop on the economics of networked systems (NetEcon06), Ann Arbor, 11–15 June 2006

  21. Jun S, Ahamad M (2005) Incentives in bittorrent induce free riding. In: Proceedings of SIGCOMM ’05 workshops, Philadelphia, August 2005

  22. KaZaA (2009) KaZaA homepage. http://www.kazaa.com

  23. Krishnan R, Smith M, Tang Z, Telang R (2002) The virtual commons: why free-riding can be tolerated in file sharing networks? In: Proceedings of the international conference on information systems (ICIS), Barcelona, 15–18 December 2002

  24. Lepper MR, Greene D (eds)(1978) The hidden costs of reward: new perspectives in the psychology of human motivation. Lawrence Erlbaum, New York

    Google Scholar 

  25. Levine DK (1998) Modelling altruism and spitefulness in experiments. Rev Econ Dyn 1:593–622

    Article  Google Scholar 

  26. Li H, Clement A, Wong E, Napper J, Roy I, Alvisi L, Dahlin M (2006) BAR gossip. In: Proceedings of the 7th USENIX symposium on operating systems design and implementation (OSDI06), Seattle, 6–8 November 2006

  27. Martin E (1978) Can society pay for altruism? or, why virtue must be its own reward. IRSS Discussion Papers Series, Paper No. 3

  28. Meier S (ed)(2006) The economics of non-selfish behaviour: decisions to contribute money to public goods. Edward Elgar, Aldershot

    Google Scholar 

  29. Nyborg K, Rege M (2003) Does public policy crowd out private contributions to public goods? Public Choice 115(3–4):397–418

    Article  Google Scholar 

  30. Oram A (ed)(2001) Peer-to-peer: harnessing the power of disruptive technologies. O’Reilly Media, Sebastopol

    Google Scholar 

  31. Osborne M, Rubinstein A (1994) A course in game theory. MIT, Cambridge

    Google Scholar 

  32. Owen G (1995) Game theory. Academic, New York

    Google Scholar 

  33. Piliavin JA, Charng H-W (1990) Altruism: a review of recent theory and research. Annu Rev Sociology 16:27–65

    Article  Google Scholar 

  34. Porter R, Shoham Y (2004) Addressing the free-rider problem in file-sharing systems: a mechanism-design approach. In: Proceedings of ACM conference on electronic commerce (EC’04), New York, May 2004

  35. Saroiu S, Gummadi PK, Gribble SD (2002) A measurement study of peer-to-peer file sharing systems. In: Proceedings of multimedia computing and networking 2002 (MMCN2002), San Jose, January 2002

  36. Sawyer J (1966) The altruism scale: a measure of co-operative, individualistic and competitive interpersonal orientation. Am J Sociol 71:407–416

    Article  Google Scholar 

  37. Shareaza (2008) Shareaza homepage. http://www.shareaza.com

  38. Smith JM (1982) Evolution and the theory of games. Cambridge University Press, New York

    MATH  Google Scholar 

  39. Steinmetz R, Wehrle K (eds)(1985) Peer-to-peer systems and applications. In: Lecture notes on computer science, vol 3485. Springer, New York

    Google Scholar 

  40. Vassilakis D, Vassalos V (2007) Modelling real p2p networks: the effect of altruism. In: Proceedings of the seventh IEEE international conference on peer-to-peer computing (P2P 2007), Galway, 2–5 September 2007

  41. Verma DC (ed)(2004) Legitimate applications of peer-to-peer networks. Wiley-Interscience, New York

    Google Scholar 

  42. Vohs KD, Mead NL, Goode MR (2006) The psychological consequences of money. Science 314(5802):1154–1156

    Article  Google Scholar 

  43. Waldman M, Rubin AD, Cranor LF (2000) Publius: a robust, tamper-evident, censorship-resistant, web publishing system. In: Proc. 9th USENIX security symposium, Denver, August 2000, pp 59–72

Download references

Acknowledgements

This research is supported by the PENED research program, which is co-funded by the European Social Fund of the European Union (75%) and the General Secretariat of Research and Technology of the Greek Ministry of Development (25%). We thank Prof. Magirou, E., and Prof. Courcoubetis, C., for useful on earlier drafts of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dimitrios K. Vassilakis.

Appendix

Appendix

Proof that \(U_i(\overrightarrow{Q})\) linearly depends on Q i .

We prove that under some reasonable assumptions \(U_i(\overrightarrow{Q})\) linearly depends on Q i . We set Q all  = ∑  i Q i and \(Q_{all}^{-j}=\sum_{i \neq j}{Q_i}\). If N is the set of all peers, let \(K_1 \subseteq N\) include those peers who demand at maximum level D and K 2 include those demanding at \(D_i(\overrightarrow{Q})< D\). The last term of Eq. 7 then becomes:

$$F \cdot Q_i \cdot D \cdot \left\{ \sum\limits_{j \in K_1-\{i\} } \frac{1}{Q_{all}^{-j}} + \sum\limits_{j \in K_2-\{i\}} \frac{b}{A \cdot M_i(\overrightarrow{Q}) } \right\} $$

Let:

$$g_i(\overrightarrow{Q})=\left\{ \sum\limits_{j \in K_1-\{i\} } \frac{1}{Q_{all}^{-j}} + \sum\limits_{j \in K_2-\{i\}} \frac{b}{A \cdot M_i(\overrightarrow{Q}) } \right\} $$

Under the realistic approach for altruism Eq. 7 becomes:

$$\begin{array}{lll} U_i(\overrightarrow{Q})&=& D_i(\overrightarrow{Q}) \cdot b \cdot \sum\limits_{k \neq i}{p_{ik}} + L_i \cdot Q_i \cdot D \cdot b \cdot g_i(\overrightarrow{Q}) \\ & & -S \cdot Q_i-F \cdot Q_i \cdot D \cdot g_i(\overrightarrow{Q}) \end{array}$$

and under the selfish approach:

$$\begin{array}{lll} U_i(\overrightarrow{Q}) & = & D_i(\overrightarrow{Q}) \cdot b \cdot \sum\limits_{k \neq i}{p_{ik}} + E_i \cdot b \cdot Q_i \\ & & -S \cdot Q_i-F \cdot Q_i \cdot D \cdot g_i(\overrightarrow{Q}) \end{array}$$

When the population of participating peers is large and there is a non zero level of total contribution in the network, the assumption that the value of Q i does not affect Q all or \({Q_{all}^{-j}}\) can be adopted. Consequently, \(g_i(\overrightarrow{Q})\) is independent of Q i . Since \(D_i(\overrightarrow{Q})\) and p ik are also independent of Q i by definition, under either approach for altruism \(U_i(\overrightarrow{Q})\), linearly depends on i’s contribution Q i .

Derivation of λ *.

Let x the fraction of contributing peers.

$$\begin{array}{lll}&&{\kern-6pt} DU_i^{MAX}(\overrightarrow{Q})\\ &&{\kern4pt} =A \Leftrightarrow P(i~\textrm{contributes})\cdot \frac{b \cdot (x\cdot n -1) \cdot Q} {\frac{(M-1) \cdot (x \cdot n -1)}{n-1}+1 }\\ &&{\kern15pt} + P(i~\textrm{doesn't contribute})\cdot \frac{b \cdot x\cdot n \cdot Q} {\frac{(M-1) \cdot (x \cdot n -1)}{n-1}+1}\\&&{\kern4pt} = A \Leftrightarrow x\cdot \frac{b \cdot (x\cdot n -1) \cdot Q} {\frac{(M-1) \cdot (x \cdot n -1)}{n-1}+1 }\\&&{\kern15pt} + (1-x) \cdot \frac{b \cdot x\cdot n \cdot Q} {\frac{(M-1) \cdot (x \cdot n -1)}{n-1}+1}\\ &&{\kern4pt} = A \Leftrightarrow x=\frac{A \cdot (n-M)}{(n-1)^2 \cdot b\cdot Q-A \cdot n \cdot (M-1)} \equiv \lambda^* \end{array}$$

Rights and permissions

Reprints and permissions

About this article

Cite this article

Vassilakis, D.K., Vassalos, V. An analysis of peer-to-peer networks with altruistic peers. Peer-to-Peer Netw. Appl. 2, 109–127 (2009). https://doi.org/10.1007/s12083-008-0024-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12083-008-0024-4

Keywords

Navigation