Skip to main content

How Does Bittorent Work??



How Does BitTorrent Work?









BitTorrent consumes 12% of total Internet traffic in North America and 36% of total traffic in the Asia-Pacific region, according to a 2012 study. It’s so popular that the new “Copyright Alert System” targets BitTorrent traffic alone.


BitTorrent may be popularly known as a method of piracy, but it isn’t just for pirates. It’s a useful, decentralized peer-to-peer protocol with significant advantages over other protocols in many situations.


This article will help you understand how the BitTorrent protocol works and why it’s not just a tool for piracy. We’ve previously explained how to get started with BitTorrent.

How BitTorrent Works


When you download a web page like this one, your computer connects to the web server and downloads the data directly from that server. Each computer that downloads the data downloads it from the web page’s central server. This is how much of the traffic on the web works.
network-with-central-server


BitTorrent is a peer-to-peer protocol, which means that the computers in a BitTorrent “swarm” (a group of computers downloading and uploading the same torrent) transfer data between each other without the need for a central server.


peer-to-peer-network


Traditionally, a computer joins a BitTorrent swarm by loading a .torrent file into a BitTorrent client. The BitTorrent client contacts a “tracker” specified in the .torrent file. The tracker is a special server that keeps track of the connected computers. The tracker shares their IP addresses with other BitTorrent clients in the swarm, allowing them to connect to each other.


Once connected, a BitTorrent client downloads bits of the files in the torrent in small pieces, downloading all the data it can get. Once the BitTorrent client has some data, it can then begin to upload that data to other BitTorrent clients in the swarm. In this way, everyone downloading a torrent is also uploading the same torrent. This speeds up everyone’s download speed. If 10,000 people are downloading the same file, it doesn’t put a lot of stress on a central server. Instead, each downloader contributes upload bandwidth to other downloaders, ensuring the torrent stays fast.


Importantly, BitTorrent clients never actually download files from the tracker itself. The tracker participates in the torrent only by keeping track of the BitTorrent clients connected to the swarm, not actually by downloading or uploading data.


Leechers and Seeders

Users downloading from a BitTorrent swarm are commonly referred to as “leechers” or “peers”. Users that remain connected to a BitTorrent swarm even after they’ve downloaded the complete file, contributing more of their upload bandwidth so other people can continue to download the file, are referred to as “seeders”. For a torrent to be downloadable, one seeder – who has a complete copy of all the files in the torrent – must initially join the swarm so other users can download the data. If a torrent has no seeders, it won’t be possible to download – no connected user has the complete file.

BitTorrent clients reward other clients who upload, preferring to send data to clients who contribute more upload bandwidth rather than sending data to clients who upload at a very slow speed. This speeds up download times for the swarm as a whole and rewards users who contribute more upload bandwidth.


utorrent-peers-and-seeds

Torrent Trackers and Trackerless Torrents

In recent times, a decentralized “trackerless” torrent system allows BitTorrent clients to communicate among each other without the need for any central servers. BitTorrent clients use distributed hash table (DHT) technology for this, with each BitTorrent client functioning as a DHT node. When you add a torrent using a “magnet link”, the DHT node contacts nearby nodes and those other nodes contact other nodes until they locate the information about the torrent.


As the DHT protocol specification says, “In effect, each peer becomes a tracker.” This means that BitTorrent clients no longer need a central server managing a swarm. Instead, BitTorrent becomes a fully decentralized peer-to-peer file transfer system.


DHT can also work alongside traditional trackers. For example, a torrent can use both DHT and a traditional tracker, which will provide redundancy in case the tracker fails.

dht-in-utorrent

BitTorrent Isn’t Just For Piracy

BitTorrent isn’t synonymous with piracy. Blizzard uses a custom BitTorrent client to distribute updates for its games, including World of Warcraft, StarCraft II, and Diablo 3. This helps speed up downloads for everyone by allowing people to share their upload bandwidth with others, leveraging unused bandwidth towards faster downloads for everyone. Of course, it also saves Blizzard money on their bandwidth bills.


People can use BitTorrent to distribute large files to significant numbers of people without paying for the web hosting bandwidth. A free film, music album, or game could be hosted on BitTorrent, allowing an easy, free method of distribution where the people downloading the file also help distribute it. WikiLeaks distributed data via BitTorrent, taking a significant load off their servers. Linux distributions use BitTorrent to help distribute their ISO disc images.


BitTorrent, Inc. – a company responsible for developing BitTorrent as a protocol, who also purchased and develop the popular µTorrent torrent client – is developing a variety of applications that use the BitTorrent protocol for new things via their BitTorrent Labs project. Labs experiments include a syncing application that securely synchronizes files between several computers by transferring the files directly via BitTorrent, and a BitTorrent Live experiment that uses the BitTorrent protocol to help broadcast live, streaming video, leveraging the power of BitTorrent to stream live video to large numbers of people without the current bandwidth requirements.



BitTorrent may be primarily used for piracy at the moment, as its decentralized and peer-to-peer nature are a direct response to efforts to crack down on Napster and other peer-to-peer networks with central points of failure. However, BitTorrent is a tool with legitimate uses in the present — and many other potential uses in the future.

Comments

Most Popular

How to fix Missing DLL files errors on Windows 10 PC

How to fix Missing DLL files errors on Windows 10 PC INRODUCTION One of the common errors which Windows users face is caused due to missing DLL files. What do you do if you receive a .dll file is missing error message? We have already taken a look at what to do if you find the following DLL files missing – xlive.dll | MSVCR110.dll | d3compiler_43.dll | LogiLDA.dll | MSVCP140.dll | api-ms-win-crt-runtime-l1-1-0.dll | VCRUNTIME140.dll | xinput1_3.dll or d3dx9_43.dll . Now let’s take a look at the general steps you could take if you receive such error messages. DLL stands for Dynamic Link Libraries and are external parts of applications that run on Windows 10/8/7 or any other operating systems. Most applications are not complete in themselves and store code in different files. If there is a need for the code, the related file is loaded into memory and used. If the OS or software is not able to find the concerned DLL file, or if the DLL file is corrupted, you

How to Install Windows 10 on Virtualbox

How to install Windows 10 in a virtual machine You will need: Install VirtualBox 5.0 or higher Installation media for Windows 10 (ISO or DVD) Step 1: Set up a Windows 10 VirtualBox Start by opening VirtualBox and clicking on the “New” button. Pick a name for the VM as well as the type and version. You’ll be able to choose between a 32-bit and 64-bit install. I advise you to stick with 32-bit if you don’t have a lot of RAM. On the next screen, you’ll have a chance to configure how much RAM that the Virtual Machine will be allowed to use. The default is 1GB, which is the minimum amount of RAM for Windows 10. I went ahead and gave it double that amount for the sake of performance. Configuring the HDD, you have to pick “Create a virtual hard disk now”, assuming you don’t have one created previously. You can leave the next two screens at their default settings since they work just fine with the new OS. I highly advise you to stick with a dynamically allocated virtual hard disk, since

The Experience I had by participating to the Inspire 2020

I  participated to the competition named Inspire 2020.I got a chance to receive a vast knowledge about Coding and they gave me some advices for How can I Improve my coding skills.Inspire 2020 is a strength for technological knowledge. Inspire 2020 is a good chance for Children. Inspire 2020 have  different categories. Such as Embedded Systems Video Clips/ Animated Cartoons Computer Applications E-Books Blogs Development Digital Posters  Are Some of them............