SlideShare une entreprise Scribd logo
1  sur  23
BitTorrent – A revolution
in P2P networking
Mihir Jyoti Chakrabarti, Arijit Roy, Anirban
Sen
27 11 06
Swami Vivekananda Institute of Science and
Technology
Introduction
WHAT IS P2P NETWORKING?
2
Client/Server Architecture
 What is it?
 Client sends request, server provides the client with
data.
 Server is the only data source.
3
Client/Server Architecture
4
 Problems
 Scalability: how many users can a server support?
 What happens when user traffic overload servers?
 Limited resources (bandwidth, CPU, storage)
 Reliability: if number of servers is small, what happens
when they break, fail, get disconnected, are
mismanaged by humans?
 Efficiency: if your users are spread across the entire
globe, how do you make sure you answer their
requests quickly?
The Alternative: Peer-to-Peer
 A simple idea
 Provides as well as consumes network services.
 A cooperative model: clients = peers = servers
5
A
B E
DC
Peer to Peer
6
 The benefits
 Scalability: Number of “servers” grows with users
 BYOR: bring your own resources (storage, CPU, B/W)
 Reliability: load spread across many peers
 Probability of them all failing is very low…
 Efficiency: peers are distributed
 Peers can try and get service from nearby peers
Types of P2P programs
7
 Centralized
 In a centralized system a server maintains directories
of what is stored in each peer computer. The central
server directs the connections between peers.
 Example Napster , Maze etc
Types of P2P programs
8
 De-Centralized
 With a decentralized program each peer connect
directly to other peers without being directed by a
server. This connection is repeated making the
resulting network large.
 Example: Gnutella
What is BitTorrent
9
 Programmer Bram Cohen designed the protocol in
April 2001 and released its first implementation of
the BitTorrent client on 2 July 2001.
 Protocol for the practice of peer-to-peer file sharing
 Designed for fast, efficient content distribution
 Ideal for large files, e.g. movies, DVDs, ISOs, etc.
 Not a full fledged P2P system
 Does not support searching for files
Important Terminology
10
 .torrent – Metadata file containing information(size,
about) about file to be shared via BitTorrent.
 Share Ratio – The ratio of the amount of data you've
uploaded to the amount of data you've downloaded.
 Peer – One instance of a BitTorrent client running on a
computer connected to the Internet to which other clients
connect and transfer data.
 Seeder – A peer who has a complete copy of the torrent
and offers it for upload.
Important Terminology
11
 Leech – Usually a peer who has a negative effect on
the swarm by having a very poor share ratio - in other
words, downloading much more than they upload.
 Swarm – Together, all peers (including seeders) sharing
a torrent. For example, six ordinary peers and
two seeders make a swarm of eight.
 Tracker – A tracker is a server that keeps track of which
seeds and peers are in the swarm. The tracker is not
directly involved in the data transfer and does not have a
copy of the file.
 Piece – This refers to the torrent files being divided up
into equal specific sized pieces (i.e. 512Kb, 1Mb).
Sharing Pieces
12
Initial Seeder
1 2 3 4 5 6 7 8
Peer
1 2 3
Peer
54 76 8 1 2 3 54 76 8
Seeder Seeder
Working of BitTorrent
13
Tracker
Swarm
Leechers
Seeder
The Beauty of BitTorrent
14
 More seeders = more availability of the full file
 Great for content distribution
 More peers = more replicas of pieces
 More replicas = faster downloads
 Multiple sources for each piece
Screenshot of a BitTorrent Client
15
History of BitTorrent
16
 Bram Cohen (born October 12, 1975) created the
first file sharing program to use the protocol, also
known as BitTorrent.
 Prior to version 6.0, BitTorrent was written in Python,
and was free software. Very early versions released
prior to December 30, 2001 were released into
the public domain without a license. Versions up to and
including 3.4.2 were distributed under the MIT license.
 Since version 6.0, the BitTorrent client has been a
rebranded version of µTorrent. As a result, it is no
longer open source.
BitTorrent Revolution
17
BitTorrent Revolution
18
19
WHAT IS LEGAL AND
ILLEGAL?
Illegal Events
20
 Finland: Finreactor
 Hong Kong: Individual actions
 Singapore: Odex actions against users
 Slovenia: Suprnova
 Sweden: Pirate Bay
 TorrentSpy
Conclusion
21
 One thing for sure, torrent is not equal to piracy.
 The torrent protocol is just a transmission mean
for users to download files more easily.
 It is the content (not the protocol) that makes the
act illegal. When it comes to downloading through
the torrent protocol, there’s no real way to stay
completely safe.
 However, it remains one of the most effective peer-
to-peer protocols in the world. If you’re worried that
you may be downloading something that’s against
the laws in your country, follow your moralistic
instinct.
Reference
22
 http://en.wikipedia.org
 http://www.google.co.in
 http://www.krazytech.com
 http://www.slideshare.net
 http://blog.seattlepi.com/timothymccormack/2013/0
7
 http://historycomputer.com/Internet/Conquering/Bit
Torrent.html
 http://www.youtube.com
 http://www.bittorrent.com
Clear Your Doubts
23

Contenu connexe

Tendances

HTTP & HTML & Web
HTTP & HTML & WebHTTP & HTML & Web
HTTP & HTML & Web
Peter R. Egli
 

Tendances (20)

Peer to peer system
Peer to peer systemPeer to peer system
Peer to peer system
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Introduction to ns2
Introduction to ns2Introduction to ns2
Introduction to ns2
 
HTTP & HTML & Web
HTTP & HTML & WebHTTP & HTML & Web
HTTP & HTML & Web
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Social Recommender Systems
Social Recommender SystemsSocial Recommender Systems
Social Recommender Systems
 
Networking Basics
Networking BasicsNetworking Basics
Networking Basics
 
Mac layer
Mac  layerMac  layer
Mac layer
 
Rip ospf and bgp
Rip ospf and bgpRip ospf and bgp
Rip ospf and bgp
 
Routing
RoutingRouting
Routing
 
Peer To Peer Networking
Peer To Peer NetworkingPeer To Peer Networking
Peer To Peer Networking
 
Applications of Distributed Systems
Applications of Distributed SystemsApplications of Distributed Systems
Applications of Distributed Systems
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Pagerank Algorithm Explained
Pagerank Algorithm ExplainedPagerank Algorithm Explained
Pagerank Algorithm Explained
 
File sharing
File sharingFile sharing
File sharing
 
Routing Algorithm
Routing AlgorithmRouting Algorithm
Routing Algorithm
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
TCP Vs UDP
TCP Vs UDP TCP Vs UDP
TCP Vs UDP
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Replication in Distributed Systems
Replication in Distributed SystemsReplication in Distributed Systems
Replication in Distributed Systems
 

Similaire à Bit torrent a revolution in p2p

Torrent Protocol
Torrent ProtocolTorrent Protocol
Torrent Protocol
Harsht2888
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay R
Sanjay Ravishankar
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentation
Avula Jagadeesh
 
Bit Torrent presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentation
Avula Jagadeesh
 

Similaire à Bit torrent a revolution in p2p (20)

Bit torrent-technology
Bit torrent-technologyBit torrent-technology
Bit torrent-technology
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
UNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTUNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENT
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan varia
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4
 
BitTorrent Seminar Report
BitTorrent Seminar ReportBitTorrent Seminar Report
BitTorrent Seminar Report
 
Adaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent SystemsAdaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent Systems
 
Torrent Protocol
Torrent ProtocolTorrent Protocol
Torrent Protocol
 
Bit Torrent Protocol Report
Bit Torrent Protocol ReportBit Torrent Protocol Report
Bit Torrent Protocol Report
 
Bit torrent and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, details
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay R
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentation
 
Peer To Peer.pptx
Peer To Peer.pptxPeer To Peer.pptx
Peer To Peer.pptx
 
Peer to Peer networks and piracy
Peer to Peer networks and piracyPeer to Peer networks and piracy
Peer to Peer networks and piracy
 
Bit Torrent presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentation
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 

Dernier

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Dernier (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Bit torrent a revolution in p2p

  • 1. BitTorrent – A revolution in P2P networking Mihir Jyoti Chakrabarti, Arijit Roy, Anirban Sen 27 11 06 Swami Vivekananda Institute of Science and Technology
  • 2. Introduction WHAT IS P2P NETWORKING? 2
  • 3. Client/Server Architecture  What is it?  Client sends request, server provides the client with data.  Server is the only data source. 3
  • 4. Client/Server Architecture 4  Problems  Scalability: how many users can a server support?  What happens when user traffic overload servers?  Limited resources (bandwidth, CPU, storage)  Reliability: if number of servers is small, what happens when they break, fail, get disconnected, are mismanaged by humans?  Efficiency: if your users are spread across the entire globe, how do you make sure you answer their requests quickly?
  • 5. The Alternative: Peer-to-Peer  A simple idea  Provides as well as consumes network services.  A cooperative model: clients = peers = servers 5 A B E DC
  • 6. Peer to Peer 6  The benefits  Scalability: Number of “servers” grows with users  BYOR: bring your own resources (storage, CPU, B/W)  Reliability: load spread across many peers  Probability of them all failing is very low…  Efficiency: peers are distributed  Peers can try and get service from nearby peers
  • 7. Types of P2P programs 7  Centralized  In a centralized system a server maintains directories of what is stored in each peer computer. The central server directs the connections between peers.  Example Napster , Maze etc
  • 8. Types of P2P programs 8  De-Centralized  With a decentralized program each peer connect directly to other peers without being directed by a server. This connection is repeated making the resulting network large.  Example: Gnutella
  • 9. What is BitTorrent 9  Programmer Bram Cohen designed the protocol in April 2001 and released its first implementation of the BitTorrent client on 2 July 2001.  Protocol for the practice of peer-to-peer file sharing  Designed for fast, efficient content distribution  Ideal for large files, e.g. movies, DVDs, ISOs, etc.  Not a full fledged P2P system  Does not support searching for files
  • 10. Important Terminology 10  .torrent – Metadata file containing information(size, about) about file to be shared via BitTorrent.  Share Ratio – The ratio of the amount of data you've uploaded to the amount of data you've downloaded.  Peer – One instance of a BitTorrent client running on a computer connected to the Internet to which other clients connect and transfer data.  Seeder – A peer who has a complete copy of the torrent and offers it for upload.
  • 11. Important Terminology 11  Leech – Usually a peer who has a negative effect on the swarm by having a very poor share ratio - in other words, downloading much more than they upload.  Swarm – Together, all peers (including seeders) sharing a torrent. For example, six ordinary peers and two seeders make a swarm of eight.  Tracker – A tracker is a server that keeps track of which seeds and peers are in the swarm. The tracker is not directly involved in the data transfer and does not have a copy of the file.  Piece – This refers to the torrent files being divided up into equal specific sized pieces (i.e. 512Kb, 1Mb).
  • 12. Sharing Pieces 12 Initial Seeder 1 2 3 4 5 6 7 8 Peer 1 2 3 Peer 54 76 8 1 2 3 54 76 8 Seeder Seeder
  • 14. The Beauty of BitTorrent 14  More seeders = more availability of the full file  Great for content distribution  More peers = more replicas of pieces  More replicas = faster downloads  Multiple sources for each piece
  • 15. Screenshot of a BitTorrent Client 15
  • 16. History of BitTorrent 16  Bram Cohen (born October 12, 1975) created the first file sharing program to use the protocol, also known as BitTorrent.  Prior to version 6.0, BitTorrent was written in Python, and was free software. Very early versions released prior to December 30, 2001 were released into the public domain without a license. Versions up to and including 3.4.2 were distributed under the MIT license.  Since version 6.0, the BitTorrent client has been a rebranded version of µTorrent. As a result, it is no longer open source.
  • 19. 19 WHAT IS LEGAL AND ILLEGAL?
  • 20. Illegal Events 20  Finland: Finreactor  Hong Kong: Individual actions  Singapore: Odex actions against users  Slovenia: Suprnova  Sweden: Pirate Bay  TorrentSpy
  • 21. Conclusion 21  One thing for sure, torrent is not equal to piracy.  The torrent protocol is just a transmission mean for users to download files more easily.  It is the content (not the protocol) that makes the act illegal. When it comes to downloading through the torrent protocol, there’s no real way to stay completely safe.  However, it remains one of the most effective peer- to-peer protocols in the world. If you’re worried that you may be downloading something that’s against the laws in your country, follow your moralistic instinct.
  • 22. Reference 22  http://en.wikipedia.org  http://www.google.co.in  http://www.krazytech.com  http://www.slideshare.net  http://blog.seattlepi.com/timothymccormack/2013/0 7  http://historycomputer.com/Internet/Conquering/Bit Torrent.html  http://www.youtube.com  http://www.bittorrent.com