Me at PHPCamp Pune 2010

Me at PHPCamp Pune 2010
Me at PHPCamp Pune 2010

Monday, November 8, 2010

Bit Torrent

Bit Torrent

What is BitTorrent?
BitTorrent is a distributed peer-to-peer filesharing protocol. It allows many people to download an object (imagery in our case), without overstraining the hosting server.
So ... What is BitTorrent?
It's a protocol, like HTTP and FTP, that allows for the distribution of large files.
I thought P2P and Filesharing were illegal!
This is a common misconception. BitTorrent, and peer-to-peer (P2P) are protocols, like HTTP and EMail. It is true that they can be used to share files illegally, but the same is true of HTTP. Our use here is legitimate, however, so you should have no need to be concerned.
How do I download BitTorrent files?
BitTorrent files (called torrents, and identifiable by the .torrent ending) are downloaded like any other file. They are then opened by the BitTorrent program (available at http://www.bittorrent.com/), which will connect to the peer network and find places that it can start fetching the file from.
How does it work?
BitTorrent connects to a central server, defined by the torrent file, which keeps track of who is working on downloading the file. The protocol then begins to request pieces of the file from all other downloaders, starting with the file parts that are least commonly available. The protocol assumes that the majority of users are not fully utilizing their bandwidth and provides the ability to download from "peers" in that extra margin. For full details, please check the Official BitTorrent site.
Isn't that insecure?
BitTorrent will only provide files to other users that you tell it to allow. Usually this will be limited to files that you are currently downloading, yourself. But after you have finished, you can allow it to continue uploading (called seeding), so that others can download easier.
What should I be aware of with BitTorrent?
You should always be careful to check that your BitTorrent client and the torrent you are downloading are both "safe". Making sure your client is safe can be mostly handled by downloading the "official" client (from http://www.bittorrent.com/, or one of the clients they link. There are many other clients available, and we have not tested them all, and we cannot speak for their validity, of course. Making sure that your torrent is safe simply means to only download torrents from "reputable sources". We like to believe that we are one. It is possible for someone to "poison" a torrent, which leads to it downloading spyware or other malicious software instead of what you thought it would download, so it is always recommended to run each file you finish downloading through an anti-virus scan before attempting to open it.