Torrent
Torrent
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.
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.
Methods
Client-server
The 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.Mirrors
The 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:- The files do not need to be on the same server.
- It's impossible to track the contents of files. That's why these networks have gained immense popularity among music lovers, films and especially warez.
- the problem was popular data, which is drawn by the largest number of people, because the new files literally "lined up," the download speed decreased in proportion to the number of requests for this file.
- In most p2p systems, the number of connections between users is limited, and often users who apply for a file simply receive a denial.
- Fully downloaded files were also a problem for users, since it is not possible to determine in advance whether the whole file is "whole" or not.