Paircoding: Improving File Sharing Using Sparse Network Codes

  • Authors:
  • Christian Ortolf;Christian Schindelhauer;Arne Vater

  • Affiliations:
  • -;-;-

  • Venue:
  • ICIW '09 Proceedings of the 2009 Fourth International Conference on Internet and Web Applications and Services
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

BitTorrent and Practical Network Coding are efficient methods for sharing files in a peer-to-peer network. Both face the problem to distribute a given file using peers with different and dynamic bandwidth and only temporal availability. For this, BitTorrent partitions the files and uses the upload and download of each peer. In addition to this, Practical Network Coding uses a random linear combination of the parts. The original file can be decoded by a matrix operation as soon as enough linear combinations have been gathered at a peer.It is known that Practical Network Coding optimizes the network flow in any peer-to-peer network, yet suffers from the cost of read/write disk operations for encoding and decoding. In this respect, BitTorrent is very efficient, yet falls behind because it has to face the coupon collector problem when distributing parts.We present Paircoding as an alternative which is regarding filesharing at least as good as BitTorrent and shares nearly the same computational disk access complexity with BitTorrent. In some scenarios Paircoding outperforms BitTorrent regarding network flow and performs as well as Practical Network Coding. Paircoding distributes only a linear combination of two parts which alleviates the coupon collector problem of BitTorrent without the computational overhead of Practical Network Coding. For analytical proofs of these statements we formalize filesharing in a peer-to-peer network in a round model and introduce a computational model which allows to compare the efficiency of the filesharing algorithms in a distributed environment. Since BitTorrent tries to overcome the coupon collector problem with various policies we face a family of BitTorrent systems. We show that for each BitTorrent policy there is a Paircoding policy which is at least as good regarding filesharing quality.