bittorrent: how does it work

Even though BitTorrent is a convenient peer-peer file transferring protocol, its unethical use for pirating copyrighted material without permission has made it illegal to use for such activities.

avatarshiwansh/

Sat Oct 15 2022

Have you ever downloaded or shared files using torrent? If you have, you must know how useful and easy it is to use. From sharing important data to downloading pirated movies or sitcoms, BitTorrent is used for all. So what exactly is BitTorrent and how does it work?

What is BitTorrent?

BitTorrent is a file sharing protocol that works in a peer-peer network model, meaning it does not have a centralized server for file sharing. This makes file sharing much faster. BitTorrent is mostly used for transferring large files such as videos and movies. 

BitTorrent helps not only to share large files but to reduce overall network traffic by spreading it among smaller networks. But even though BitTorrent is such a convenient file transferring protocol, its unethical use for pirating copyrighted material without permission has made it illegal to use for such activities.

How does it work?

In other normal client-server networks, there exists a centralized server; who has the data, and a client; who requests the data. This is a simple network model that is even adapted by the Internet. Here, all the data is stored on the server and not the client. This means that if there are several clients, the rate of data transfer is low because of the congested traffic. 

This is where BitTorrent comes into picture.

Before we get into how BitTorrent works, lets get familiar with some terms:

Swarm: A group of peers connected together

Seed: A peer that already has a file and makes it available for other peers.

Leecher: A peer that downloads a file from a seed.

Tracker: This is a server that traces the peers and the swarm, locating peers using their IP address. It also keeps record of files that are being downloaded or uploaded.

In BitTorrent, it can be said that each peer in the swarm acts as a server and can share the files that they already have. It is basically taking the load off from a server by splitting it between devices in a smaller network i.e. a swarm.  

Now to better understand how BitTorrent works let's say peer1 needs a file named File0. 

To download the file he first needs to obtain a torrent file (a file with metadata) of File0. The torrent can be found online after some research.

After he obtains the torrent file he connects to the required Tracker. This makes him associated with a swarm, where a peer holds File0.

After this PC1 becomes a leecher. This is the part where he downloads the file that he requires. 

When the download is complete, the leecher now becomes a seed, meaning he can now upload the file he has for others. The more the seeds in the swarm, the greater the download speed.

Related Posts

thumbnail

bittorrent: how does it work

Even though BitTorrent is a convenient peer-peer file transferring protocol, its unethical use for p...

By:shiwansh/

Sat Oct 15 2022

thumbnail

will an asteroid ever hit earth

The chances of large impacts from NEOs able of causing wide-ranging damage at any given time are sma...

By:arnav/

Sat Oct 01 2022

thumbnail

multi factor authentication: is it necessary

Have you ever logged into any of your social media accounts and the app asks you to enable Two-Facto...

By:shiwansh/

Thu Sep 29 2022

thumbnail

internet:a simple overview

The internet is a net/web of interconnected smaller networks. The smaller networks comprise the very...

By:shiwansh/

Sat Sep 24 2022

thumbnail

metaverse:introduction,working,and investment

Metaverse is a digital reality that includes the facets of social networking sites, Augmented Realit...

By:bigyan/

Wed Aug 31 2022

thumbnail

why are you charged for blood that you donate for free

Although blood donation is a free-process, the blood-bank is a multi-billion dollar industry, with a...

By:kaaad/

Fri Aug 26 2022

thumbnail

cryptocurrency in simple terms

Crypto currency is generated by mining. Mining, in simple words, is the act of receiving coins by so...

By:kaaad/

Sun Aug 21 2022

thumbnail

cloning:positive and negative prospects

Many cloned animals die before their adulthood due to various health complications. The first cloned...

By:kaaad/

Fri Aug 12 2022

Subscribe to Get Access to the great

Subscribe & get all the Latest and Greatest posts from us