|
TorrentTorrent This is a protocol designed for file sharing. In fact, it is a peer-to-peer protocol. Torrent - This is the identifier. Those. A file that contains information about the desired files, namely: a) the size and number of fragments, and the checksum of the downloaded file (s) b) about the tracker on Which you can get information about the siders and lits who distribute this file. The torrent file can be made by anyone and uploaded to the tracker. After other users download this file to themselves - they already know where to take the files from which the torrent was created. Once again, a torrent is a shortcut that uniquely identifies the contents of the transmitted information and the address where you can get this information. MethodsClient-serverThe most common method. The central server sends the entire file to everyone who needs it - this is how the HTTP and FTP protocols work. The only advantage of this method is that it is easy to implement and use. This model can fail - once the server becomes too popular, and as soon as the data size begins to be too large.MirrorsThe concept of "mirroring" only partially solves this problem, because it requires a complex configuration of "mirroring" the servers and the distribution of the load between them.Client-client (p2p)The second most popular are p2p systems, such as Kazaa, eDonkey, Gnutella, Direct Connect, etc. Network users exchange files directly by connecting to each other. Advantage:
Client-client method (torrent)However, using the experience of Usenet, where information is distributed between users on the chain, where each user can download information and at the same time make his own without destroying the logical integrity of the group. As a result, files distributed by Usenet have become the most convenient way for mass distribution of files. As a consequence, newsgroups have evolved into streams of messages from digital data. Bittorrent is similar to Usenet in this. It is most suitable for the distribution of new products, which are of interest to a large number of people. Old or little used files are distributed slowly or not at all. All who download this file are simultaneously and distributors of the fragments they have already downloaded. So you download the missing fragments of the file at the same time distribute the fragments you have already downloaded to others. Thus, you "help" others and "others" in turn "help" you. Result is such that the download speed is ideally limited only by the bandwidth of your channel. In real life - it depends heavily on the number of people downloading this file. That is, the more people, the more the number of potential sources of distribution of this file. And since the torrent client supports multithreading, then as a result - higher speed! | Web 2.0 Beta version What is Web 2.0 Resources Web 2.0 Wiki Ajax Tags Blogs Realtime Google Digg-news Last.fm-radio Video Hosting Netvibes-all together Jabber Other projects Internet things |