In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the working principle of Torrents". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how Torrents works.
How does Torrents work?
Suppose there are some videos on'A', which it wants to download as a "seed". So he created a "seed" and sent the link to 'Bread, which contains information about the exact IP address of the video on the Internet. So, when'B 'starts downloading that file,' B 'connects to the' A 'computer. After'B' has finished downloading this video,'B 'will start to be used as a seed, that is,' B 'will allow other' C'or'D' to download it from'B' 's computer.
So everyone downloads the file first and then uploads it, and the more people download it, the faster it downloads. And in any case, if you want to stop uploading, there is no problem, at any time. This won't be a problem unless a lot of people download it and few people upload it.
Seeder and taker
The user who downloads a specific file will be the uploader immediately, so the downloader who can be downloaded by the new user is called seeder.
Some users who have not yet finished downloading a specific file and are still downloading are called requestors.
Block
All "seed" files are independently divided into fixed-size packets, so they can be downloaded in non-linear and random order. Each block has a unique identity, so once all the blocks have been downloaded, they are spliced out of the original file.
Because of this mechanism, if you are downloading a file from someone, and if he stops uploading for some reason, you can continue to download from another seeder without having to download it from scratch.
Opposite end
The opposite end refers to the person who is currently connected to you. A caller who is uploading, no matter how many pieces it downloads, it is a peer.
For example:
A user who has downloaded the first 50 blocks of the file is a requester, but he uploads the files at the same time, and you only have the first 10 blocks, so you can download up to 50 blocks from him. That's when he becomes your counterpart.
Best practic
When you download a "seed", always choose the biggest seeder. This is the best experience.
There is no minimum standard here, but just make sure you choose the largest seeder.
Laws related to "seed"
"seed" related laws and other laws are no different, like anything else protected by copyright, infringement will be punished by the law. Most governments intercept "seed" sites and protocols, but "seed" downloads themselves are not harmful.
Seeds are useful for sharing files quickly, and they are used to share open source community software because they save a lot of server resources. However, many people use them because of piracy.
At this point, I believe you have a deeper understanding of "how Torrents works". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.