Wednesday, November 22, 2006

Why Bittorrent Works

Bittorrent is often referred to as the best filesharing protocol for sharing large files. But why? What makes bittorrent so unique?

Well, lets take a sneak peek under the hood of your Bittorrent client, and list a couple of features that make bittorrent as fast, stable, and robust as it is.

Starting

Bittorrent starts with chopping a file into small pieces, the one who starts sharing the file (initial seed) sends those small pieces to available peers. The Bittorrent protocol makes sure that the seed sends a unique piece to everyone, so they can share this with each other.

Thus, the great advantage is that everyone starts sharing pieces of the file right away.

Fair trading

bittorrent swarmOnce you have a little piece of the file, your bittorrent client starts to look for other people who might be interested in the pieces you have. The bittorrent protocol works as a tit-for-tat game, you only upload pieces to people who offer something to you. The more you upload to others, the more you receive.

This fair trading principle prevents free-riders from stealing your precious bandwidth.

Once you’re trading files, the Bittorrent client keeps a close eye on your peer, as soon as the other side stops sending you data it will stop sending as well (choke). In the meanwhile your client keeps searching for other peers, it randomly sends data to peers who are interested (optimistic unchoke), to see if that peer is a potential trading partner.

Selecting pieces

So what pieces does your client sent first? Well, Bittorrent works with a “rarest piece first” scheme. Your bittorrent client generally looks for the rarest piece that’s available among the peers in the swarm. This makes sure that the most common pieces are still available at the end, and may prevent people from getting stuck at 99%.

Seeders & New Peers

Seeders don’t stop sending out pieces of course, but the rules change a bit. As a downloader the client determines the best peer by the upload/download ratio. A seeder however is only interested in peers with a high upload speed, so these fast uploaders can send the pieces to other peers, and speed up the overall speed of the swarm (seeds + peers).

New peers (without pieces) are more likely to receive a piece of the file at random. Besides this, new peers are not bound to the rarest piece first restriction. This makes sure that a new peer receives a “piece” as quick as possible, so he can share it with others.

7 comments:

Anonymous said...

Hi !.
might , perhaps curious to know how one can reach 2000 per day of income .
There is no initial capital needed You may begin to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
The company represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with affiliates around the world.
Do you want to become a happy investor?
That`s your chance That`s what you wish in the long run!

I feel good, I started to take up real money with the help of this company,
and I invite you to do the same. If it gets down to choose a correct partner utilizes your money in a right way - that`s it!.
I take now up to 2G every day, and my first investment was 500 dollars only!
It`s easy to join , just click this link http://xizakona.exactpages.com/tekywid.html
and go! Let`s take our chance together to become rich

Anonymous said...

Hello !.
You re, I guess , perhaps very interested to know how one can reach 2000 per day of income .
There is no need to invest much at first. You may begin earning with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
The company incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with offices around the world.
Do you want to become really rich in short time?
That`s your choice That`s what you wish in the long run!

I feel good, I started to take up income with the help of this company,
and I invite you to do the same. It`s all about how to choose a correct partner who uses your funds in a right way - that`s it!.
I earn US$2,000 per day, and my first investment was 500 dollars only!
It`s easy to join , just click this link http://exyribasy.lookseekpages.com/nahipy.html
and go! Let`s take this option together to get rid of nastiness of the life

Anonymous said...

Hello everyone!
I would like to burn a theme at this forum. There is such a nicey, called HYIP, or High Yield Investment Program. It reminds of ponzy-like structure, but in rare cases one may happen to meet a company that really pays up to 2% daily not on invested money, but from real profits.

For quite a long time, I earn money with the help of these programs.
I'm with no money problems now, but there are heights that must be conquered . I make 2G daily, and I started with funny 500 bucks.
Right now, I'm very close at catching at last a guaranteed variant to make a sharp rise . Turn to my blog to get additional info.

http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

Ηey I knοw this is off toрic but Ι was wondering іf you
knew of anу widgets I сοuld add tο my blog that automаtiсally
tweеt mу nеwest twittеr uρdates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

Here is my homepage ... hcg diet blog

Anonymous said...

Spot on with this write-up, I absolutely believe this web
site needs far more attention. I'll probably be back again to read more, thanks for the info!

Here is my page - password hacking

Anonymous said...

It's not my first time to go to see this website, i am browsing this website dailly and take nice information from here everyday.

my blog post: best hcg

Anonymous said...

There's definately a lot to know about this issue. I love all the points you have made.

Look at my page ... minecraft 1.0

OCgeeks Knowledgebase

OCgeeks News

Latest Tech News

Daily Techno-Babble