| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Peer Pressure - Link Exchange insightpros.com | Refractive Lens Exchange, RLE, RLE Refractive Lens Exchange, RLE Lens... centreforsight.com | Free Link Exchange - Health and Wellness Link Exchange - Exchange Links nywellnessguide.com |
Peer exchange or PEX is a way for the computers in BitTorrent file sharing networks to connect with each other. It helps to maintain the group (known as a "swarm") of users (or peers) that are collaborating to share a given file. In the original BitTorrent design the many peers (users) downloaded a ".torrent" file describing the file(s) to be shared and then depended on a central computer called a tracker to find each other and maintain the swarm. Later development of distributed hash tables (DHT) meant that sub-lists of peers could be held by other computers in the swarm and ease the load on the central tracker computer. Peer exchange allows the members of a swarm to exchange information about the swarm directly without asking (polling) a tracker computer or DHT. This is faster and reduces the load on the tracker. Peer exchange can not introduce a new peer to a swarm entirely on its own. To make initial contact with the swarm, each peer must either connect to a tracker with a list of computers using the desired ".torrent" file, or use a router computer called a bootstrap node to find a distributed hash table which also contains a list of peers in that swarm, but is not held on any one central computer. For most Bittorrent users DHT and PEX will start to work automatically when they start a torrent. A notable exception is "private torrents" which are not freely available; these will disable DHT. Recent development of a magnet link system to find other peers on a DHT means that peers can join a swarm without ever downloading a .torrent file.
[edit] Clients supporting peer exchangeEach of these clients implement some version of peer exchange:
[edit] Implementation[edit] DHTTo create a PEX protocol providing a uniformly distributed peer selection, one could form a small DHT local to a torrent. For each desired new peer one would look up a (uniformly) random key, and use the node responsible for the key as a new peer. This is conceptually simple but would require quite some overhead. For "trackerless" torrents, it is not clear if PEX provides any value since the mainline DHT can distribute load as necessary. Each DHT node acting as a tracker may store only a subset of the peers, but these are maximal subsets constrained only by DHT node load rather than by a single peer's view. Private torrents disable the DHT, and for this case, PEX might be useful provided the peer obtains enough peers from the tracker. [edit] References
[edit] External links
| ||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |