How does Bittorent work?

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

How does Bittorent work?

Postby Kumagoro » Wed Jul 05, 2006 8:18 pm

I don't understand how Bittorent works at all. I installed it on my computer and tried downloading some fansubs (I've only watched shows on streaming sites like Youtube before this), but it says it'll take twenty hours for the thing to fully download! It is a big file, but I have a pretty fast computer and it would normally take less than ten minutes for something of its size to fully download. Can I have a geek's help, please? :sweat:
User avatar
Kumagoro
 
Posts: 89
Joined: Fri Jun 30, 2006 10:53 pm

Postby Yahshua » Wed Jul 05, 2006 8:31 pm

Hm ok I will explain how the Bittorent works for ya. Let say you want a particularly Book title like Lord of the Ring the Bittorent file call .Torrent tell the Bittorrent software how many chapters are in the Book itself. And how many people with an complete copy of the books those are call The Seeders. And rest of them with part of the book is call peers. And as you download the book the speed of your download is rely upon the number of Seeders and their Upload speeds. So if they have good upload speed you get your book faster that way. And in your case an single episode of fansub anime.
User avatar
Yahshua
 
Posts: 1698
Joined: Tue Apr 27, 2004 9:00 am

Postby Kumagoro » Wed Jul 05, 2006 8:55 pm

I think I've got it... But does it normally take hours for things to download?
User avatar
Kumagoro
 
Posts: 89
Joined: Fri Jun 30, 2006 10:53 pm

Postby Kaligraphic » Wed Jul 05, 2006 9:15 pm

It really depends on how many people are downloading, what parts they have, how many seeds there are, everyone's internet connection speeds, and a host of other factors.

In any case, when you first start downloading in bittorrent, you won't have connections with a lot of peers, so it'll give you a pretty high estimate. Just let it run, and that time should come down.

And, as the lawyers say, don't use this advice to download copyrighted works or to do anything illegal. (standard disclaimer here)
The cake used to be a lie like you, but then it took a portal to the deception core.
User avatar
Kaligraphic
 
Posts: 2002
Joined: Wed Jul 21, 2004 12:00 pm
Location: The catbox of DOOM!

Postby Nate » Thu Jul 06, 2006 4:11 am

Bittorrent is like...well, to be honest, it's exactly how Penny Arcade described it. Instead of having a file on a server for anyone to download freely, they break it up into a million parts and give each part to a different person. Then magical gremlins invade your PC and put the parts together so you can use it.

Bittorrent is partially good, partially bad. Good because a single person doesn't have to bear the entire load of everyone who wants to download the file. Bad because it's painfully slow and if no one is seeding, you can't download. Ask Radical Dreamer from this site. It took her nearly six days to download something via Bittorrent. Had she been able to download it regularly, it probably would've only taken a few hours.

"Yeah, we figured using Bittorrent was the cheapest way to give you the updates for your game."

"How is it cheaper? I'm still paying like 16 bucks a month!"

"Oh, I'm sorry. I meant cheaper for US. Yeah, we don't pay a dime."
Image

Ezekiel 23:20
User avatar
Nate
 
Posts: 10725
Joined: Thu Sep 02, 2004 12:00 pm
Location: Oh right, like anyone actually cares.

Postby Bobtheduck » Thu Jul 06, 2006 12:15 pm

Bittorrents isn't really any less reliable than any other P2P... Try finding anything worth getting on Limewire... Pretty difficult... Torrent sites are often well organized, and you can find them without porn, and there are entire sites devoted to LEGAL torrents, so you can avoid the whole warez thing. If I knew how to seed my own files, I would seed videos... Anyone can help me with that, I'd be appreciative....
https://www.youtube.com/watch?v=evcNPfZlrZs Watch this movie なう。 It's legal, free... And it's more than its premise. It's not saying Fast Food is good food. Just watch it.
Legend of Crying Bronies: Twilight's a Princess
Image
User avatar
Bobtheduck
 
Posts: 5867
Joined: Mon Aug 25, 2003 9:00 am
Location: Japan, currently. Gonna be Idaho, soon.

Postby uc pseudonym » Thu Jul 06, 2006 12:42 pm

On a more technical level, how does bittorrent work? It obviously breaks a larger file into quite a few individual packets. Does it then begin to methodically go through the list of packets until it finds one (or more) that are available? Then, once it is done, does it list that packet as available from one source on a given channel? That's just my best guess, of course.
User avatar
uc pseudonym
 
Posts: 15506
Joined: Tue Jun 10, 2003 4:00 am
Location: Tanzania

Postby Mr. SmartyPants » Thu Jul 06, 2006 12:43 pm

I love bittorrent. Though download times vastly differ. Once it took me 10 minutes to download a bleach episode. Another time it took me a about 10 days to download a season of some anime title. There weren't many seeders for it.
User avatar
Mr. SmartyPants
 
Posts: 12541
Joined: Sat Aug 21, 2004 9:00 am

Postby Locke » Thu Jul 06, 2006 1:12 pm

Bobtheduck wrote:Bittorrents isn't really any less reliable than any other P2P... Try finding anything worth getting on Limewire... Pretty difficult... Torrent sites are often well organized, and you can find them without porn, and there are entire sites devoted to LEGAL torrents, so you can avoid the whole warez thing. If I knew how to seed my own files, I would seed videos... Anyone can help me with that, I'd be appreciative....



Just leave the torrents in the window once it finishes and you'll start seeding.

Oh and what kind of torrenter do you guys use? I still use the default Bitorrent one, is this good or would other programs speed up the download process?
Secret Bumping Club Member #10 - geocities.com/arphage/sbc.html

When you find yourself in the company of a halfling and an ill-tempered
Dragon, remember, you do not have to outrun the Dragon...
...you just have to outrun the halfling.
User avatar
Locke
 
Posts: 3691
Joined: Tue Oct 28, 2003 4:00 am
Location: SoCal

Postby LorentzForce » Thu Jul 06, 2006 1:22 pm

uc pseudonym wrote:On a more technical level, how does bittorrent work? It obviously breaks a larger file into quite a few individual packets. Does it then begin to methodically go through the list of packets until it finds one (or more) that are available? Then, once it is done, does it list that packet as available from one source on a given channel? That's just my best guess, of course.


Packets are almost meaningless in higher layers, which in this case, is application layer, since BT program does all checksum checking and validating and so forth.

Basically the file(s) are divided in chunks of some certain size, depending between higher overhead vs higher chance of error introduced (small chunks vs big chunks). The actual torrent file just contains tracker information, file names, chunks, and their checksums. User then uses the torrent file using a torrenting application, connects to tracker saying "yo I'm around". Tracker introduces them to other peers/seeds who are already there. You also tell the tracker which chunks you already have and which you don't yet.

Peers now and do two things; ask you for chunks you already have, or you get chunks you don't have off them. Seeds just let everyone grab chunks off them because they're already done. Notice how tracker merely tracks this data transfer (like who gave what to who, who joined, who is peer, seed, so on), not the actual data.

And now the usual, share the chunks, check they're right, and save, flag as done, others can get them too, and so on, until it's finished.
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Mr. SmartyPants » Thu Jul 06, 2006 2:17 pm

Locke wrote:Just leave the torrents in the window once it finishes and you'll start seeding.

Oh and what kind of torrenter do you guys use? I still use the default Bitorrent one, is this good or would other programs speed up the download process?

I perfer bittornado (http://www.bittornado.com)

You can change how much you upload/download, choose to download specific parts of files (If I am downloading episodes 10-16 of an anime. I can choose to get episode 10 first. Or just cancel all but 10 and 11. In case if I need those 2 again)

It also lets you see who you are connected to, their IP addresses, etc.
User avatar
Mr. SmartyPants
 
Posts: 12541
Joined: Sat Aug 21, 2004 9:00 am

Postby Kumagoro » Thu Jul 06, 2006 4:40 pm

Am I supposed to leave the window open once my thing is done downloading? If I delete the torrent after I've got all the pieces am I doing something bad (like stealing it from other people)? I still don't totally understand it.
User avatar
Kumagoro
 
Posts: 89
Joined: Fri Jun 30, 2006 10:53 pm

Postby Kaligraphic » Thu Jul 06, 2006 4:59 pm

You should leave the torrent going for a bit, because once you finish it will act as a seed and speed up other people's downloads.
The cake used to be a lie like you, but then it took a portal to the deception core.
User avatar
Kaligraphic
 
Posts: 2002
Joined: Wed Jul 21, 2004 12:00 pm
Location: The catbox of DOOM!

Postby Mithrandir » Thu Jul 06, 2006 5:44 pm

To be a "good member of the group" it is requested that you leave the file up until you have reached a share ratio of at least one. Depending on what client program you use, this may or may not be evident.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby uc pseudonym » Fri Jul 07, 2006 2:52 pm

Typically I leave it open as long as is reasonable or as long as people are still uploading from me. With the files I generally download, there tends to be no activity after a fairly short time, so I figure I'm not robbing anyone of anything.
User avatar
uc pseudonym
 
Posts: 15506
Joined: Tue Jun 10, 2003 4:00 am
Location: Tanzania

Postby Sync » Fri Jul 07, 2006 8:42 pm

Some trackers will ban on low ratios too, if you plan on using one place a lot definitely keep your ratio higher than .6
User avatar
Sync
 
Posts: 558
Joined: Sun Jan 02, 2005 7:05 pm


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 224 guests