Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bit torrent-technology


Published on

This is brief presentation on BitTorrent technology.
(caution: avoid using site mentioned in the ppt for downloading torrent file.. b t jun kie may not be safe..)

(Thanks to Soumya and my other colleagues for the help.)

Published in: Education

Bit torrent-technology

  1. 1. BIT TORRENT By: Abhishek Sharma 1PI06IS004
  2. 2. CONTENTS <ul><li>What Is Bit Torrent ? </li></ul><ul><li>Origin ? </li></ul><ul><li>Why Bit Torrent ? </li></ul><ul><li>Torrent Lingo ? </li></ul><ul><li>Sharing files ? </li></ul><ul><li>Components of Bit Torrent protocol ? </li></ul><ul><li>Installation of Torrent Client and Downloading Torrents ? </li></ul><ul><li>Advantages ? </li></ul><ul><li>Limitations ? </li></ul><ul><li>Conclusion ? </li></ul>
  3. 3. BIT TORRENT ?????
  4. 4. INTRODUCTION <ul><li>A Peer-to-Peer file sharing protocol. </li></ul><ul><li>One of the most common protocols for transferring large files and accounts for about 35% of traffic on the internet. </li></ul><ul><li>BitTorrent maximizes transfer speeds by breaking down a large file into numerous small pieces and allows the recipient to download each tiny piece from different clients. </li></ul><ul><li>The sole objective of BitTorrent is to quickly replicate a single large file to a set of clients. </li></ul>
  5. 5. ORIGIN <ul><li>BitTorrrent is the brain child of an American programmer Brahm Cohen. </li></ul><ul><li>Cohen unveiled this novel idea at the first CodeCon conference. </li></ul><ul><li>Cohen wrote the first BitTorrent client implementation in Python, and several other programs have since Implemented the protocol. </li></ul><ul><li>Designed in April 2001 by Brahm Cohen and maintained by Cohen’s company BitTorrent, Inc. </li></ul>
  6. 6. WHY BIT TORRENT ??
  7. 7. TRADITIONAL CLIENT-SERVER DOWNLOADING <ul><li>Client-server  computing or networking is a distributed application architecture that partitions tasks or work loads between service providers (servers) and service requesters, called clients. </li></ul><ul><li>It works like this: </li></ul><ul><li>- You open a Web page and click a link to download a file to your computer. </li></ul><ul><li>- The Web browser software on your computer (the client) tells the server (a central computer that holds the Web page and the file you want to download) to transfer a copy of the file to your computer. </li></ul><ul><li>- The transfer is handled by a protocol (a set of rules), such as FTP (File Transfer Protocol) or HTTP (Hypertext Transfer Protocol). </li></ul>
  8. 9. DRAWBACKS <ul><li>Traffic congestion on the network has been an issue since the inception of the client-server paradigm. As the number of simultaneous client requests to a given server increases, the server can become overloaded. </li></ul><ul><li>The client-server paradigm lacks the robustness of a good P2P network. Under client-server, should a critical server fail, clients’ requests cannot be fulfilled. In P2P networks, resources are usually distributed among many nodes. </li></ul>
  9. 10. THE BITTORRENT PROTOCOL <ul><li>Peer-to-peer file sharing is different from traditional file downloading. In peer-to-peer sharing, you use a software program (rather than your Web browser) to locate computers that have the file you want. Because these are ordinary computers like yours, as opposed to servers, they are called peers. </li></ul><ul><li>BitTorrent is a peer-to-peer file sharing protocol allowing users to distribute large amounts of data without putting the level of strain on their computers that would be needed for standard Internet hosting. </li></ul><ul><li>The protocol works as an alternative data distribution method that makes even small computers with low bandwidth capable of participating in large data transfers. </li></ul>
  11. 12. <ul><li>Torrent – At the beginning of all this is the torrent file itself. The .torrent file is not the entire file. It is extremely small and it just contains the information that points to the actual file and the people who are sharing it. It is like a map which is used by the BitTorrent client to assemble all the pieces together. </li></ul><ul><li>BitTorrent client – A Bit Torrent client is one of the most important parts of the torrent process. It is a piece of software which takes the .torrent file, reads the information in it and starts the download. </li></ul><ul><li>Peer - A peer is any computer participating in the download and upload of a torrent file </li></ul>
  12. 13. (CONTD..) <ul><li>Seeder - A seed (or seeder) is anyone who has a complete copy of the file being shared across the torrent network. </li></ul><ul><li>Leecher - A leech (or a leecher) is the person who does not have the complete file yet but has joined the network to download it. A leecher becomes a seeder when he downloads the entire file and then shares it across the network. </li></ul><ul><li>Share ratio – The ratio is the amount of data a user has uploaded divided by the amount of data they have downloaded for a particular torrent (UL÷DL). A share ratio of 1+ has a positive effect on the user’s reputation because it means that the user has sent more data to other users than he has received. Conversely, share ratios under 1 have a negative effect. </li></ul>
  13. 14. (CONTD..) <ul><li>Swarm – The swarm is the sum total of all the leechers and seeders (i.e. all the computers) participating in the torrent process. </li></ul><ul><li>Tracker – The tracker is a server which has the information of who has what files and who needs which ones, thus acting as a bridge between seeders and leechers. Some trackers are private requiring a registration where most are public. </li></ul><ul><li>Index – An index is, as the name implies, a searchable list of .torrent files, hosted on a website. </li></ul>
  14. 15. FILE SHARING Data or a file with 5 pieces
  15. 23. <ul><li>As the file segments are downloaded by more and more peers, the peers become the sources for further downloads. </li></ul><ul><li>Because the tracker randomizes the list of peers, the load gets spread randomly </li></ul>
  16. 24. COMPONENTS OF THE PROTOCOL <ul><li>Metainfo file- Describes metadata about the sharing file(s), and the tracker, and has the file ending .torrent. </li></ul><ul><li>Tracker- A central server keeping track of peers and seeds sharing and downloading the file(s). </li></ul><ul><li>Peer- A user on the network downloading the file(s), and sharing the parts that have been successfully downloaded. </li></ul><ul><li>Seed- A peer that has the complete file or files available for sharing. At least one seed is needed in the beginning for the sharing to be possible. </li></ul><ul><li>Client.-An application implementing the BitTorrent protocol. </li></ul>
  17. 25. OPERATION <ul><li>You open a Web page and click on a link for the file you want. </li></ul><ul><li>BitTorrent client software communicates with a tracker to find other computers running BitTorrent that have the complete file and those with a portion of the file. </li></ul><ul><li>The tracker identifies the swarm, which is the connected computers that have all of or a portion of the file and are in the process of sending or receiving it. </li></ul><ul><li>The tracker helps the client software trade pieces of the file you want with other computers in the swarm. Your computer receives multiple pieces of the file simultaneously. </li></ul><ul><li>If you continue to run the BitTorrent client software after your download is complete, others can receive .torrent files from your computer. </li></ul>
  18. 27. (CONTD..) <ul><li>Downloading pieces of the file at the same time helps solve a common problem with other peer-to-peer download methods: Peers upload at a much slower rate than they download. </li></ul><ul><li>By downloading multiple pieces at the same time, the overall speed is greatly improved. The more computers involved in the swarm, the faster the file transfer occurs because there are more sources of each piece of the file. </li></ul>
  20. 37. ADVANTAGES <ul><li>BitTorrent is an open-source program offers a spyware- and nuisance-free installation.  </li></ul><ul><li>Allows users to share large amounts of data in a short span of time. </li></ul><ul><li>Discourages “freeloading” by rewarding fastest uploaders. </li></ul><ul><li>BitTorrent requires that users share files back with the community, so no one can get files without also giving files — this level of reciprocity makes the system stronger and faster. </li></ul><ul><li>The more popular a file is — the more people want a copy of it — the faster it can be downloaded, because there are more places to get pieces of it. </li></ul>
  21. 38. (CONTD..) <ul><li>Does not require high technical knowledge to use the BitTorrent- an average person needs not a user guide . </li></ul><ul><li>By downloading a fraction of the file (1/10 th ) from ten to fifteen computers at the same time, the file is downloaded much faster. </li></ul><ul><li>BitTorrent enables distributors to share the distribution load with all the people who get a copy of it, reducing the bandwidth burden on the distributor. </li></ul>
  22. 39. LIMITATIONS <ul><li>Lack of anonymity - BitTorrent does not offer its users anonymity. </li></ul><ul><li>The leech problem - A BitTorrent user may often choose to leave the swarm as soon as they have a complete copy of the file they are downloading. </li></ul><ul><li>The cheater problem - There are &quot;cheating&quot; clients like BitThief which claim to be able to download without uploading. </li></ul><ul><li>Speed - Average BitTorrent download speed is limited by the combined average upload speed of &quot;peers&quot; (other nodes with partial copies which are also downloading) and &quot;seeds&quot; (complete copies that are only uploading). </li></ul>
  23. 40. CONCLUSION <ul><li>Study indicates that BitTorrent traffic accounts for more than 40% of the total network traffic. </li></ul><ul><li>BitTorrent is a well thought-out protocol that embraces aspects of cooperation and self-optimizing mechanisms. </li></ul><ul><li>BitTorrent is a well thought-out protocol that embraces aspects of cooperation and self-optimizing mechanisms. </li></ul><ul><li>Swarming is an efficient way to speed up downloads </li></ul>
  24. 41. REFERENCES <ul><li>Analysing BitTorrent , Xinuo Chen , Stephen A. Jarvis , 2007 International Conference on Computational Science and Engineering </li></ul><ul><li>A performance study of BitTorrent-like peer-to-peer systems , Lei Guo Songqing Chen,  Zhen Xiao  Enhua Tan,  Xiaoning Ding  Xiaodong Zhang , Ohio State Uni. , Selected Areas In Communications, IEEE Journal. </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>
  25. 42. QUESTIONS ??
  26. 43. THANK YOU