Skip to main content
Log in

Optimizing BitTorrent-like peer-to-peer systems in the presence of network address translation devices

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

Abstract

BitTorrent nowadays is one of the most important peer-to-peer (P2P) file-sharing applications on the Internet, and it has also inspired many other P2P applications such as live or on-demand video streaming services. On the other hand, Network Address Translation (NAT) has become pervasive in almost all networking scenarios, from residential Internet access to enterprise networks. Despite the effort of NAT traversal, it is still very likely that P2P applications cannot receive incoming connection requests properly if they are behind NAT. To quantify the performance impact of NAT on BitTorrent-like P2P systems, we have created and validated a detailed but tractable mathematical model. We have also proposed and briefly examined a simple but effective strategy to mitigate the negative impact on NAT peers. In this paper, we further extend our model to cover the proposed biased optimistic unchoke strategy, and optimize the system performance in terms of both average peer download time and system finish time. We also create a new, faster Java-based BitTorrent simulator, which is used to validate the extended model and show the optimality of the proposed strategy and its boundary conditions.

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

Similar content being viewed by others

References

  1. Liu Y, Pan J (2009) The impact of NAT on BitTorrent-like P2P systems. In: Proc. 9th IEEE int’l conference on peer-to-peer (P2P’09), pp 242–251

  2. Cohen B (2003) Incentives build robustness in BitTorrent. http://bitconjurer.org/BitTorrent/bittorrentecon.pdf

  3. Zhang X, Liu J, Li B, Yum TSP (2005) CoolStreaming/DONet: a data-driven overlay network for efficient live media streaming. In: Proc. of IEEE INFOCOM

  4. Srisuresh P, Egevang K (2001) Traditional IP network address translator (NAT). IETF RFC 3022

  5. Mol J, Pouwelse J, Epema D, Sips H (2008) Free-riding, fairness and firewall in P2P file sharing. In: Proc. 8th IEEE int’l conf on peer-to-peer computing (P2P’08)

  6. Qiu D, Srikant R (2004) Modeling and performance analysis of BitTorrent-like peer-to-peer networks. In: Proc. ACM SIGCOMM

  7. Fan B, Chiu D-M, Lui J (2006) The delicate tradeoffs in BitTorrent-like file sharing protocol design. In: Proc. of IEEE ICNP

  8. Legout A, Liogkas N, Kohler E, Zhang L (2007) Clustering and sharing incentives in BitTorrent systems. In: Proc. of ACM SIGMETRICS

  9. Liao W-C, Papadopoulos F, Psounis K (2007) Performance analysis of BitTorrent-like systems with heterogeneous users. Perform Eval 64(9–12):876–891

    Article  Google Scholar 

  10. Chow A, Golubchik L, Misra V (2009) BitTorrent: an extensible heterogeneous model. IEEE INFOCOM

  11. Rosenberg J, Mahy R, Matthews P, Wing D (2008) Session traversal utilities for NAT (STUN). IETF RFC 5389

  12. Rosenberg J, Mahy R, Matthews P (2009) Traversal using relays around NAT (TURN): relay extensions to session traversal utilities for NAT (STUN). IETF Internet Draft

  13. Rosenberg J (2007) Interactive connectivity establishment (ICE): a protocol for network address translator (NAT) traversal for offer/answer protocols. IETF Internet Draft

  14. Pouwelse J, Garbacki P, Epema D, Sips H (2005) The BitTorrent P2P file-sharing system: measurement and analysis. In: Proc. of 4th international workshop on peer-to-peer systems (IPTPS)

  15. Bharambe A, Herley C, Padmanabhan V (2006) Analyzing and improving BitTorrent performance. In: Proc. of IEEE INFOCOM

  16. DAcunto L, Meulpolder M, Rahman R, Pouwelse J, Sips H (2010) Modeling and analyzing the effects of firewalls and NATs in P2P swarming systems. In: Proc. of IEEE HotP2P

Download references

Acknowledgements

This work is supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC), Canada Foundation for Innovation (CFI) and British Columbia Knowledge Development Fund (BCKDF).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jianping Pan.

Additional information

Part of the work presented in this paper has appeared at 9th IEEE International Conference on Peer-to-Peer Computing (P2P’09), Seattle, WA, USA, Sept. 9–11, 2009 [1].

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chang, L., Liu, Y., Wei, Z. et al. Optimizing BitTorrent-like peer-to-peer systems in the presence of network address translation devices. Peer-to-Peer Netw. Appl. 4, 274–288 (2011). https://doi.org/10.1007/s12083-010-0083-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12083-010-0083-1

Keywords

Navigation