What are Torrents and How they Work ?

Discussion in 'Web Development' started by lionaneesh, Jan 23, 2011.

  1. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India

    What are torrent



    Torrents

    Torrents are P2P(Peer to Peer) software compatible files they are used to share files in P2P network environments. For running torrents you need to install a specialised P2P software.

    Torrents use a Protocols for transfer of files The Bit-Torrent protocol is one of the most popular and common protocols used by torrent clients for sharing of large data files. This Protocol was also created by Bram Cohen while Creating BitTorrent(torrent client) in April 2001...

    What is P2P?

    P2P -> Peer-to-Peer as the name suggests is a network of computers that communicate with each other by using specialised P2P softwares...

    What is a tracker?

    A tracker is a server that assists the communication between peers(you and other people using client) actually it acts like a medium between all the peers to communicate. It is mainly used to get information about the peers , and other statistics..

    What does torrent file contains?

    A torrent file contains urls of multiple trackers and metadata of the files shared and the tracker. If you just edit a torrent file you will see some un-understandable garbage data all over the file...This is because the torrent files are encoded with 'Bencode'.

    The concept of seeders and leechers

    The seeders are the people that have already downloaded the file (in full or part) and are open for uploading i.e. allow others to download

    Leechers are the people those are downloading the file.

    So, the more the seeders the faster you can download.

    How torrent actually work?



    The main feature of a torrent client is that it can download large files without heavy load on the network and server computer and uses P2P network for getting the job done ...

    Rather than connecting to a single server host on the network , Torrent Client connects to a large group of hosts to download and upload a file simultaneously. Each host on the network behaves as a client as well as a server.

    Let us take a small example.

    You want to download a 100 MB file and you are open to upload the same file as well. Now this 100 MB file is actually divided into small parts.

    Say 100 parts of 1 MB each.

    You are downloading the file and say it is 5% complete. In the 5% of your completion you have say 3 of 100 parts as done.

    Now for those 3 completed parts your torrent client will act as seeder and for rest 97 parts your torrent client will act as leecher.​

    This feature allows even the users with low bandwidth to download and upload files to multiple recipients

    For uploading a file the person first create a torrent file that can be distributed over FTP , HTTP etc..Then the file is hosted on his machine and acts as a Bit-Torrent node and serves as a seed. Other people with torrent files can give it to their own Bit-Torrent Node which acts as a peer , seed , leech ..Then the file is downloaded by connecting to other seeds , peers..

    The first thing a torrent client does is to get the initial reception of peer data from the tracker url (located in the torrent file) Then after getting the peer information the torrent client start downloading files. The files shared by a torrent are converted to fragments/pieces these fragments are small sized files which are easier to transfer. It’s done so that we could download each fragment from a different peer thus increasing the transfer speed and less chances of corruption..

    The authenticity of each file part is verified by a crypto graphical hash contained in the torrent file. During the whole transfer the torrent client often checks the tracker url for the peer stats(New peers connected)..As a peer completes the download it becomes a seed.

    The health of a torrent depends on the shift of users from leechers to seeders..

    Downloading/Installing torrents :-



    First thing we need is a torrent client
    1. http://www.bittorrent.com/
    2. http://www.utorrent.com/

    The next thing is to find a site which are hosting torrents of our choice
    1. http://www.mininova.org
    2. http://thepiratebay.org
    You should be able to download anything now.

    Just open the torrent file found from above sites into the torrent software of your choice.
    Depending on your torrent client software, you can tweak around the settings according to your needs like increase the no of fragments, increasing the fragment size etc etc...
     
  2. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Thanks a ton for re-editing my article...
    And i must say...
    Gr8 edits....
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Pleasure is all mine.
     
  4. aishaarora

    aishaarora Banned

    Joined:
    Dec 21, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for sharing.............
     
  5. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Thanks for Viewing!!!!
     
  6. oliviasslguru

    oliviasslguru Banned

    Joined:
    Feb 15, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.rapidsslonline.com
    It would be good if someone makes it legal. Doesn't matters really...
     
  7. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    It is legal!! It depends on people whether they share legal stuff or illegal!!
     
  8. oliviasslguru

    oliviasslguru Banned

    Joined:
    Feb 15, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.rapidsslonline.com
    The kind of stuff that is shared can never make it legal.
     
  9. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    That's what i am saying... We can't call the implementation illegal...Its the stuff(by malicious people) that makes it illegal!!
     
  10. Ana_Campos

    Ana_Campos New Member

    Joined:
    Jan 31, 2011
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    0
    I think the main problem with torrent is the fact that it enables a high ammount off copy right material. That is why you see so many lawsuits these days and so many trackers being closed.
     
  11. Lulugreen

    Lulugreen New Member

    Joined:
    May 23, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for your submission about What are Torrents and How they Work! The post is useful for me!
     
  12. Eldridge13

    Eldridge13 New Member

    Joined:
    May 23, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    USA
    Home Page:
    http://www.capturestreamingaudio.net/
    Thanks, but it is legal or not.
     
  13. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Yes it is!
     
  14. alexander007

    alexander007 New Member

    Joined:
    Sep 14, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    India
    Home Page:
    http://www.sem-n-seo.com
    Good technology and helps to download file fast and quickly.
     
  15. goose

    goose New Member

    Joined:
    Jul 15, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    I am a newbie ..

    Your Explainatiion is lucid..

    I like your posts
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice