Results 1 to 13 of 13

Thread: How Torrents Works ?

  1. #1
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default How Torrents Works ?

    This article is posted for IBF competition, hope you will find it useful.


    Before going into details of Working of Torrent’s let me clear meaning of few terms like Seeders (seed), Leechers, Trackers and Torrent Client.

    Seeders are those who have 100% of the required file which they wish to share with others. Leechers are those who download that file. A torrent client is the software which implements the BitTorrent protocol thus helping seeders and leechers to do their respective jobs. Tracker is the server which helps in communication of seeders and Leechers using BitTorrent protocol. A leecher becomes a pure seeder once it has 100% of the required file.

    Now let’s assume that i (seeder) have a movie of 12 MB which i want to share. The 1st step is to make a torrent file for that movie. Most torrent clients like BitTorrent, U-Torrent allows you to create a torrent file which contains metadata about files which we wish to share and information about the tracker server. While we make a torrent file for above movie, it is treated virtually as number of small pieces each of size varying between 32KB to 4MB and is recorded in metadata of torrent file. Each piece haves it checksum or hash value created using SHA1 hashing algorithm. Note: Out actual 12 MB file is not actually spitted at all by torrent client. Now our file is ready for distribution.

    Usually the seeder uploads the torrent file on popular websites like thepiratebay or mininova.org etc. etc. Once the torrent file is obtained by end user (leecher) downloading starts. The torrent client installed at end user investigates the torrent file and contacts the tracker server and gets the list of other users having the same file.

    Let’s assume that there is 1 Seeder and 3 leechers for this file. Also let’s assume that the torrent file metadata records 12 MB file as 4 pieces of 3 MB each. Let’s name them as piece P1, piece P2 and piece P3. This is just an example to help you understand how torrent works.

    In this case, torrent client at 3 leechers will request a random piece of data. Let’s say
    Leecher1 asks for P1 and finishes downloading it form Main Seeder,
    Later, Leecher2 asks for P1 and is in process of download,
    Leecher3 asks for P1 and it is in process to begin the download,

    now, with the help of tracker server, Leecher2 can get P1 from Leecher1 and also from main seeder or from both. Once Leecher2 gets a 100% chunk of P1, It requests for another random Piece. Meanwhile, he also uploads same data to other leechers. Here it’s Leecher3. Depending on internet connection speed, a torrent client can simultaneously ask for multiple pieces of data. Each peace when downloaded is verified as safe by checking its hash value stored in torrent file.

    This is a continues process and each leecher then reaches a point where he has 100% of the file and then we call it as pure seeder. This is how torrents work in general.


    Recommended Reading :How Dial-up internet works ?
    Last edited by talktoanil; 02-03-10 at 12:28 AM.

  2. #2
    Platinum Member
    Join Date
    Aug 2009
    Liked
    0 times
    Posts
    8,555

    Default

    Good one. I have posted a similar tutorial last time. Anyway 1 good, 2 better

  3. #3
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default

    Quote Originally Posted by meetdilip View Post
    Good one. I have posted a similar tutorial last time. Anyway 1 good, 2 better
    Thanks. You mean, in the competition held recently ?

  4. #4
    Platinum Member
    Join Date
    Aug 2009
    Liked
    0 times
    Posts
    8,555

    Default

    Yes ........................

  5. #5
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default

    Quote Originally Posted by meetdilip View Post
    Yes ........................
    OOPS I was not knowing that. Can you post the link ? I think i missed it.

  6. #6

  7. #7
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default


    Both are different topics. I have explained HOW torrent works.


    Your article is also short and sweet.

  8. #8
    The Master imrock's Avatar
    Join Date
    Sep 2008
    Liked
    0 times
    Posts
    2,200

    Default

    Good work Anil!
    Rep+

    hmmmmm.............i see the competition is getting tougher and tougher.

  9. #9
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default

    Quote Originally Posted by imrock View Post
    Good work Anil!
    Rep+

    hmmmmm.............i see the competition is getting tougher and tougher.
    Thanks imRock

  10. #10
    Jedi knight Luke Skywalker's Avatar
    Join Date
    Jul 2009
    Age
    23
    Liked
    0 times
    Posts
    2,175

    Default

    Great article. I took the inspiration & wrote a parody how email works?

    rep+
    Last edited by Luke Skywalker; 02-02-10 at 11:16 PM. Reason: Automerged Doublepost

  11. #11
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default

    Quote Originally Posted by Luke Skywalker View Post
    Great article. I took the inspiration & wrote a parody how email works?

    rep+
    Thanks Luke. I took inspiration from Dilip

  12. #12
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    Default

    Good one.... keep going.

    Rep+

  13. #13
    Platinum Member talktoanil's Avatar
    Join Date
    May 2008
    Age
    27
    Liked
    3 times
    Posts
    1,212

    Default

    Quote Originally Posted by deepmohan View Post
    Good one.... keep going.

    Rep+
    Thanks buddy.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How Proxy Server Works???
    By gaggan4392 in forum Broadband How to
    Replies: 11
    Last Post: 04-17-10, 07:41 PM
  2. How ADSL Broadband Internet Works
    By deepmohan in forum Broadband How to
    Replies: 1
    Last Post: 02-12-10, 02:44 AM
  3. How Dial-up internet works ?
    By talktoanil in forum Broadband How to
    Replies: 5
    Last Post: 02-11-10, 12:54 PM
  4. Magnet links for torrents
    By meetdilip in forum Software News, Previews and Reviews
    Replies: 0
    Last Post: 02-10-10, 05:41 PM
  5. How email works?
    By Luke Skywalker in forum Computer technology
    Replies: 0
    Last Post: 02-02-10, 06:34 PM