ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

BitTorrent

BitTorrent is a peer-to-peer (P2P) file distribution tool written by San Francisco programmer Bram Cohen, debuted at the CodeCon conference.

Unlike traditional file sharing systems, its primary intention is to provide an efficient way to distribute the same file to a large group of people by having everybody that downloads a file also upload it to others. First, a small file with a .torrent extension is distributed via conventional means. This file is static, so it is often placed on regular websites or even distributed by e-mail. The .torrent file contains hashing information for blocks of the file, so the size of it depends on the size of the file or group of files that it refers to. It also contains, hardcoded, the address of a so-called "tracker server" which is used to locate sources that have the file or parts of it.

This tracker server is currently centralized and also provides statistics about the number of transfers, number of nodes who have a complete copy of the file and number of nodes who only have a partial copy.

The actually desired file or collection of files is downloaded from the sources provided by the tracker server, and while it is downloaded, it is also uploaded to other sources, with the client utilizing the amount of bandwidth assigned to it. By uploading parts of the file while it is downloaded, each node inevitably contributes to the distribution of the file -- in fact, nodes with high upload bandwidth are also automatically connected to more nodes to download the file from. This is referred to as "leech resistance".

When a user begins downloading a file, BitTorrent does not necessarily start at the beginning of the file. Random pieces of the file are initially downloaded by all users. Then, users connect with one another to share pieces of the file. If enough users are connected to one another, all will eventually obtain the entire file. Of course, initially someone must possess the entire complete file to begin the process. This method has the effect of causing download speeds to increase when more users connect to download/upload a file. When there are no longer any nodes connected to the tracker server who possess the complete file (so-called "seeds" or "seeders"), however, it can happen that the complete file can no longer be obtained.

The method used by BitTorrent to distribute files parallels to a large extent the one used by the eDonkey2000 network, but nodes in this file sharing network usually share and download a much larger number of files, making the bandwidth available to each transfer much smaller. BitTorrent transfers are typically very fast, because all nodes in a group concentrate on transferring a single file or collection of files. Furthermore, the standard eDonkey2000 protocol provides no "leech resistance" -- there are no benefits in providing upload bandwidth.

While initially created to distribute legal files, such as Linux distributions or large movie trailers, BitTorrent is also increasingly being used by some to download copyrighted music, movies, and software, similar to many other peer-to-peer networks. It is still contested whether or not this is legal; see peer-to-peer for more information. BitTorrent was allegedly responsible for the initial distribution of a good copy of The Matrix Reloaded created from film prints just days after the movie was released in theaters.

BitTorrent is written in Python.

External Links





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "BitTorrent".