SlideShare a Scribd company logo
1 of 15
Download to read offline
BitTorrent Protocol 
Introduction, description and operation 
Faculty - Department seminar 
Karwan Jacksi 
Faculty of Science 
Computer Science Department 
University of Zakho 
Karwan Jacksi 20/11/2011
Client-Server Model 
• Background: 
– When we download a file from the internet we, usually, use 
HTTP/FTP protocols to download the file from the server. 
• This is when we use client-server architecture. 
– The server has to upload this file to all clients that are 
requesting the file. 
– The bandwidth of the server is the 
bottleneck if there are too many 
simultaneous applicants. 
– Client-Server paradigm would get 
congested and overload the 
server with too many requests. 
– Client-server model lacks the 
robustness. 
• since it has a single point of failure. 
Karwan Jacksi 20/11/2011
Client-Server Model Cont’d 
• Solutions to these issues are to: 
– Increase the number of servers and load balancers to let the 
performance and robustness grow. 
– But these solutions would rather fall into a costlier system in 
the hardware point of view. 
Karwan Jacksi 20/11/2011
Peer-to-Peer Model 
• Background: 
– P2P model offers more than a single source for files to be 
downloaded: 
• It distributes resources among many nodes. 
• Thus, if a node fails or rejects to upload the file, peers can get 
the leftover pieces of the file from the remaining nodes in the 
network. 
– When the number of nodes 
increase, opportunities to get 
pieces from other peers 
increase as well. 
– Accordingly, the bandwidth is 
used in an efficient way when 
the number of clients increase. 
Karwan Jacksi 20/11/2011
What is BitTorrent? 
• BitTorrent: 
– Is one of many P2P file sharing systems that have been 
proposed and implemented, e.g. Gnutella, Kazaa, etc. 
– One of few P2P protocols that has attracted significant 
attention by a wide range of users. 
– The power of BitTorrent protocol comes from splitting the 
file into several smaller pieces, once a piece iiss oobbttaaiinneedd bbyy aa 
peer, it can be shared with other peers in the swarm. 
– This is how BitTorrent offers more than a single source for 
files to be downloaded. 
Karwan Jacksi 20/11/2011
What is BitTorrent? Cont’d 
• BitTorrent: 
– Is one of the most common protocols for transferring large 
files. 
– It has been estimated that it accounted for roughly 43% to 70% 
of all Internet traffic (depending on geographical location). 
– Programmer Bram Cohen designed the protocol in April 
2001 and released a first implementation oonn JJuullyy 22,, 22000011.. 
– As of January 2011 BitTorrent has 100 million users. 
– At any given instant of time BitTorrent has, on average, 
more active users than YouTube and Facebook combined. 
– This refers to the number of active users at any instant and not 
to the total number of unique users. 
Karwan Jacksi 20/11/2011
BitTorrent Terminology: 
• BitTorrent terms: 
– Torrent: a small metadata file with .torrent extension. 
• Contains: information about files e.g. names, size, etc., and URL 
of a Tracker. 
– Swarm: a group of peers that are collectively connected for 
a particular torrent file form a swarm. 
– Tracker: a navigation centre for the swarm and is 
responsible for helping clients to find each ootthheerr iinn tthheeiirr 
swarm. 
– Seeder: a peer that offers a complete copy of a specific file. 
– Leecher or Downloader: a peer that doesn't have a 
complete copy. 
Karwan Jacksi 20/11/2011
BitTorrent Terminology Cont’d 
Karwan Jacksi 20/11/2011
BitTorrent Terminology Cont’d 
• Choke: it is a state in which a client refuses to upload pieces to 
another peer. 
• Optimistic unchoke: finds out a number of choked peers, and 
tries to select one of them to get unchoked. 
– This approach gives 3 times more chance to the newly 
connected peers to be unchoked. 
• Snub: Occasionally a client finds itself in a state where it is 
choked by all peers it was formerly downloading from. 
– It flags the connection as snubbed which results in more 
than one optimistic unchoke, this is called Anti snubbing. 
Karwan Jacksi 20/11/2011
BitTorrent Terminology Cont’d 
• Piece selection: which piece of the file should be selected by a 
peer to start downloading next. 
– Strict priority: completes all the current sub-pieces before 
requesting any other pieces. 
– Rarest first: selects the piece with the lowest number of 
providers. 
• It prevents pieces from disappearing from the swarm. 
– Random first: Selects a random available piece to be 
downloaded next. 
• Commonly used for newly connected peers. 
Karwan Jacksi 20/11/2011
Adoption 
– A growing number of individuals and organizations are using 
BitTorrent to distribute their own or licensed material. 
– Independent adopters report that without using BitTorrent 
technology and its dramatically reduced demands on their 
private networking hardware and bandwidth, they could not 
afford to distribute their files. 
•• FFiillmm,, vviiddeeoo aanndd mmuussiicc:: 
– BitTorrent Inc. has obtained a number of licenses from 
Hollywood studios for distributing popular content from 
their. 
– Sub PPoopp Records releases tracks and videos via BitTorrent 
Inc. 
Karwan Jacksi 20/11/2011
Adoption Cont’d 
• Broadcasters: 
– The CBC became the first public broadcaster in North America to 
make a full show available for download using BitTorrent. 
– The Norwegian Broadcasting Corporation (NRK) has since March 
2008 experimented with bittorrent distribution, available online. 
– Personal materials: 
–– TTTThhhheeee AAAAmmmmaaaazzzzoooonnnn SSSS3333 ""SSiimmppllee SSttoorraaggee SSeerrvviiccee"" iiss aa ssccaallaabbllee IInntteerrnneett-- 
based storage service with a simple web service interface, 
equipped with built-in BitTorrent support. 
– Blog Torrent offers a simplified BitTorrent tracker to 
enable bloggers and non-technical users to host a tracker on their 
site. 
Karwan Jacksi 20/11/2011
Adoption Cont’d 
• Software: 
– Many software games, especially those whose large size 
makes them difficult to host due to bandwidth limits. 
– Many major open source and free software projects 
encourage BitTorrent as well as conventional downloads of 
their products (via HTTP, FTP etc.) to increase availability 
and to reduce load on their own servers, eessppeecciiaallllyy wwhheenn 
dealing with larger files. 
– Government: 
– The UK government used BitTorrent to distribute details 
about how the tax money of UK citizens was spent. 
– Others: 
– Facebook and Twitter use BitTorrent to distribute updates 
to their servers. 
Karwan Jacksi 20/11/2011
BitTorrent Clients 
– A BitTorrent client is a computer program that manages 
downloads and uploads using the BitTorrent protocol. 
– Applications: 
– There are too many applications: 
Karwan Jacksi 20/11/2011
– Questions? 
Karwan Jacksi 20/11/2011

More Related Content

What's hot

Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsMayur Kathale
 
Bit Torrent presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentationAvula Jagadeesh
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan variaMilan Varia
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocoltmont
 
BitTorrent - sharing files has never been easier
BitTorrent - sharing files has never been easierBitTorrent - sharing files has never been easier
BitTorrent - sharing files has never been easierMohd253
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocolD bipul lomga
 
UNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTUNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTSudhansu Dash
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminarChirodeep Das
 
Bit torrent seminar
Bit torrent seminarBit torrent seminar
Bit torrent seminarbalu0503
 
Torrent Protocol
Torrent ProtocolTorrent Protocol
Torrent ProtocolHarsht2888
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentationAvula Jagadeesh
 
Bit Torrent Protocol Report
Bit Torrent Protocol ReportBit Torrent Protocol Report
Bit Torrent Protocol ReportSridharBR
 

What's hot (20)

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 presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentation
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan varia
 
Bit torrent ppt
Bit torrent pptBit torrent ppt
Bit torrent ppt
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocol
 
BitTorrent - sharing files has never been easier
BitTorrent - sharing files has never been easierBitTorrent - sharing files has never been easier
BitTorrent - sharing files has never been easier
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
UNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTUNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENT
 
Bit torrent
Bit torrentBit torrent
Bit torrent
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
 
Bittorrent Basics
Bittorrent BasicsBittorrent Basics
Bittorrent Basics
 
Bit torrent seminar
Bit torrent seminarBit torrent seminar
Bit torrent seminar
 
Torrent Protocol
Torrent ProtocolTorrent Protocol
Torrent Protocol
 
Torrent technology
Torrent technologyTorrent technology
Torrent technology
 
Torrents
TorrentsTorrents
Torrents
 
Torrent
TorrentTorrent
Torrent
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentation
 
Bit Torrent Protocol Report
Bit Torrent Protocol ReportBit Torrent Protocol Report
Bit Torrent Protocol Report
 

Similar to BitTorrent Protocol Seminar Explains P2P File Sharing

Similar to BitTorrent Protocol Seminar Explains P2P File Sharing (20)

Bit torrent a revolution in p2p
Bit torrent a revolution in p2pBit torrent a revolution in p2p
Bit torrent a revolution in p2p
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4
 
BitTorrent
BitTorrent BitTorrent
BitTorrent
 
Magnet links
Magnet linksMagnet links
Magnet links
 
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 and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
 
BitTorrent Seminar Report
BitTorrent Seminar ReportBitTorrent Seminar Report
BitTorrent Seminar Report
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
BitTorrent.pdf
BitTorrent.pdfBitTorrent.pdf
BitTorrent.pdf
 
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
 
Project_report_BitTorrent
Project_report_BitTorrentProject_report_BitTorrent
Project_report_BitTorrent
 
Bit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONSBit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONS
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit torrent
Bit torrentBit torrent
Bit torrent
 
Bittorrent Seminar by dhananjay pardeshi
Bittorrent Seminar by dhananjay pardeshiBittorrent Seminar by dhananjay pardeshi
Bittorrent Seminar by dhananjay pardeshi
 
Detecting BitTorrents Using Snort
Detecting BitTorrents Using SnortDetecting BitTorrents Using Snort
Detecting BitTorrents Using Snort
 
BitThief Report
BitThief ReportBitThief Report
BitThief Report
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 

More from Karwan Jacksi

Internet communication
Internet communicationInternet communication
Internet communicationKarwan Jacksi
 
Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Karwan Jacksi
 
A Survey of Exploratory Search Systems Based on LOD Resources
A Survey of Exploratory Search Systems Based on LOD ResourcesA Survey of Exploratory Search Systems Based on LOD Resources
A Survey of Exploratory Search Systems Based on LOD ResourcesKarwan Jacksi
 
Database teaching in different universities
Database teaching in different universitiesDatabase teaching in different universities
Database teaching in different universitiesKarwan Jacksi
 
E-Learning System Design: Teacher-Student Websites
E-Learning System Design: Teacher-Student WebsitesE-Learning System Design: Teacher-Student Websites
E-Learning System Design: Teacher-Student WebsitesKarwan Jacksi
 

More from Karwan Jacksi (6)

Internet communication
Internet communicationInternet communication
Internet communication
 
Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)
 
A Survey of Exploratory Search Systems Based on LOD Resources
A Survey of Exploratory Search Systems Based on LOD ResourcesA Survey of Exploratory Search Systems Based on LOD Resources
A Survey of Exploratory Search Systems Based on LOD Resources
 
Semantic web
Semantic webSemantic web
Semantic web
 
Database teaching in different universities
Database teaching in different universitiesDatabase teaching in different universities
Database teaching in different universities
 
E-Learning System Design: Teacher-Student Websites
E-Learning System Design: Teacher-Student WebsitesE-Learning System Design: Teacher-Student Websites
E-Learning System Design: Teacher-Student Websites
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

BitTorrent Protocol Seminar Explains P2P File Sharing

  • 1. BitTorrent Protocol Introduction, description and operation Faculty - Department seminar Karwan Jacksi Faculty of Science Computer Science Department University of Zakho Karwan Jacksi 20/11/2011
  • 2. Client-Server Model • Background: – When we download a file from the internet we, usually, use HTTP/FTP protocols to download the file from the server. • This is when we use client-server architecture. – The server has to upload this file to all clients that are requesting the file. – The bandwidth of the server is the bottleneck if there are too many simultaneous applicants. – Client-Server paradigm would get congested and overload the server with too many requests. – Client-server model lacks the robustness. • since it has a single point of failure. Karwan Jacksi 20/11/2011
  • 3. Client-Server Model Cont’d • Solutions to these issues are to: – Increase the number of servers and load balancers to let the performance and robustness grow. – But these solutions would rather fall into a costlier system in the hardware point of view. Karwan Jacksi 20/11/2011
  • 4. Peer-to-Peer Model • Background: – P2P model offers more than a single source for files to be downloaded: • It distributes resources among many nodes. • Thus, if a node fails or rejects to upload the file, peers can get the leftover pieces of the file from the remaining nodes in the network. – When the number of nodes increase, opportunities to get pieces from other peers increase as well. – Accordingly, the bandwidth is used in an efficient way when the number of clients increase. Karwan Jacksi 20/11/2011
  • 5. What is BitTorrent? • BitTorrent: – Is one of many P2P file sharing systems that have been proposed and implemented, e.g. Gnutella, Kazaa, etc. – One of few P2P protocols that has attracted significant attention by a wide range of users. – The power of BitTorrent protocol comes from splitting the file into several smaller pieces, once a piece iiss oobbttaaiinneedd bbyy aa peer, it can be shared with other peers in the swarm. – This is how BitTorrent offers more than a single source for files to be downloaded. Karwan Jacksi 20/11/2011
  • 6. What is BitTorrent? Cont’d • BitTorrent: – Is one of the most common protocols for transferring large files. – It has been estimated that it accounted for roughly 43% to 70% of all Internet traffic (depending on geographical location). – Programmer Bram Cohen designed the protocol in April 2001 and released a first implementation oonn JJuullyy 22,, 22000011.. – As of January 2011 BitTorrent has 100 million users. – At any given instant of time BitTorrent has, on average, more active users than YouTube and Facebook combined. – This refers to the number of active users at any instant and not to the total number of unique users. Karwan Jacksi 20/11/2011
  • 7. BitTorrent Terminology: • BitTorrent terms: – Torrent: a small metadata file with .torrent extension. • Contains: information about files e.g. names, size, etc., and URL of a Tracker. – Swarm: a group of peers that are collectively connected for a particular torrent file form a swarm. – Tracker: a navigation centre for the swarm and is responsible for helping clients to find each ootthheerr iinn tthheeiirr swarm. – Seeder: a peer that offers a complete copy of a specific file. – Leecher or Downloader: a peer that doesn't have a complete copy. Karwan Jacksi 20/11/2011
  • 8. BitTorrent Terminology Cont’d Karwan Jacksi 20/11/2011
  • 9. BitTorrent Terminology Cont’d • Choke: it is a state in which a client refuses to upload pieces to another peer. • Optimistic unchoke: finds out a number of choked peers, and tries to select one of them to get unchoked. – This approach gives 3 times more chance to the newly connected peers to be unchoked. • Snub: Occasionally a client finds itself in a state where it is choked by all peers it was formerly downloading from. – It flags the connection as snubbed which results in more than one optimistic unchoke, this is called Anti snubbing. Karwan Jacksi 20/11/2011
  • 10. BitTorrent Terminology Cont’d • Piece selection: which piece of the file should be selected by a peer to start downloading next. – Strict priority: completes all the current sub-pieces before requesting any other pieces. – Rarest first: selects the piece with the lowest number of providers. • It prevents pieces from disappearing from the swarm. – Random first: Selects a random available piece to be downloaded next. • Commonly used for newly connected peers. Karwan Jacksi 20/11/2011
  • 11. Adoption – A growing number of individuals and organizations are using BitTorrent to distribute their own or licensed material. – Independent adopters report that without using BitTorrent technology and its dramatically reduced demands on their private networking hardware and bandwidth, they could not afford to distribute their files. •• FFiillmm,, vviiddeeoo aanndd mmuussiicc:: – BitTorrent Inc. has obtained a number of licenses from Hollywood studios for distributing popular content from their. – Sub PPoopp Records releases tracks and videos via BitTorrent Inc. Karwan Jacksi 20/11/2011
  • 12. Adoption Cont’d • Broadcasters: – The CBC became the first public broadcaster in North America to make a full show available for download using BitTorrent. – The Norwegian Broadcasting Corporation (NRK) has since March 2008 experimented with bittorrent distribution, available online. – Personal materials: –– TTTThhhheeee AAAAmmmmaaaazzzzoooonnnn SSSS3333 ""SSiimmppllee SSttoorraaggee SSeerrvviiccee"" iiss aa ssccaallaabbllee IInntteerrnneett-- based storage service with a simple web service interface, equipped with built-in BitTorrent support. – Blog Torrent offers a simplified BitTorrent tracker to enable bloggers and non-technical users to host a tracker on their site. Karwan Jacksi 20/11/2011
  • 13. Adoption Cont’d • Software: – Many software games, especially those whose large size makes them difficult to host due to bandwidth limits. – Many major open source and free software projects encourage BitTorrent as well as conventional downloads of their products (via HTTP, FTP etc.) to increase availability and to reduce load on their own servers, eessppeecciiaallllyy wwhheenn dealing with larger files. – Government: – The UK government used BitTorrent to distribute details about how the tax money of UK citizens was spent. – Others: – Facebook and Twitter use BitTorrent to distribute updates to their servers. Karwan Jacksi 20/11/2011
  • 14. BitTorrent Clients – A BitTorrent client is a computer program that manages downloads and uploads using the BitTorrent protocol. – Applications: – There are too many applications: Karwan Jacksi 20/11/2011
  • 15. – Questions? Karwan Jacksi 20/11/2011