SlideShare a Scribd company logo
Pardeshi Dhananjay.

Guide:Mrs. Kale J. S.

October 21, 2013

Presented By:Hamand Amol Sambhaji.
Pardeshi Dhananjay Rajendra.
Pardeshi Dhananjay.

•
•
•
•
•
•
•
•
•
•
•
•
•
•

Introduction
Types Of Data Sharing
Traditional Client-Server Downloading
Peer-Peer Downloading
What is BitTorrent?
Why BitTorrent?
Origin!
BitTorrent Terminology
How BitTorrent works?
Swarm, Tracker, Peers, Leeches, Seeds
Architecture of BitTorrent
Piece Selection
Conclusion
References

October 21, 2013

2
Pardeshi Dhananjay.

• Humans tend to share things.
• As electronic data plays a vital role these days, they acquire the
“sharing” attribute.
• Sharing electronic data(emails, eBooks, multimedia files) is the
need of the hour.
• Usually the data is of large size and takes too much time and
bandwidth to be downloaded.
• Data sharing must be fast enough as we are now moving to 3G
and 4G technologies, users expect data sharing at high speeds.

October 21, 2013

3
Pardeshi Dhananjay.



Manual Sharing Using Removable Media: Such as Memory Cards,
USB drives, External Hard disks etc.



Centralized Servers of Computer Networks: Network of computers
interconnected for sharing resources and information via a central
server (One server – many clients).



Distributed Peer-to-Peer networking: Is a Computer network where
each system in the network acts as client or server allowing shared
access of resources without the need of central server.

October 21, 2013

4
Pardeshi Dhananjay.

• The client – server model is a centralized
model.
• A server is a computer that selectively shares
its data on Web.
• A client is a computer that contacts the server
in order to request for the data.

Client

• The Web browser software on your computer
(the client) tells the server to transfer a copy
of the file to your computer.
• Single server provides service to several
clients simultaneously.

October 21, 2013

Server

Handling
multiple requests.

5
Pardeshi Dhananjay.

• Protocols used:- 1)FTP (File Transfer Protocol)
2)HTTP (Hypertext Transfer Protocol).
• The transfer speed is affected by a number of variables, including the
type of protocol, the amount of traffic on the server and the number of
other computers that are downloading the file.
• If the file is both large and popular, the demands on the server are
great, and the download will be slow.
• Client-server model fails if
1.Single server fails.
2.Cant afford to deploy enough servers.

October 21, 2013

6
Pardeshi Dhananjay.

• A peer-to-peer (P2P) network is a decentralized network.
• In peer-to-peer sharing, all individual nodes(‘Peers’) act as both supplier
and consumer of data or resources.
• In peer-to-peer sharing, a software program is used instead a Web
Browser to locate computers that have the file user want.
• You run peer-to-peer file-sharing software (for example, a Napster
program or Gnutella) on your computer and send out a request for the
file you want to download.
• To locate the file, the software queries other computers that are
connected to the Internet and running the file-sharing software.
October 21, 2013

7
Pardeshi Dhananjay.

• When the software finds a computer that
has the file you want on its hard drive ,
the download begins.
• Others using the file-sharing software can
obtain files they want from your
computer's hard drive.
• The file-transfer load is distributed
between the computers exchanging files,
but file searches and transfers from your
computer to others can cause bottlenecks.

October 21, 2013

8
Pardeshi Dhananjay.

• Bit-Torrent is a peer to peer (P2P) protocol used for sharing files
over the network.
• A P2P client is used on every participating nodes.
• No central resource allocation.
• A single data is accessed effectively by hundreds of peers.
• The data is chopped into pieces and further into sub pieces.
• Every peer acts as both, client and server.
• One of Bit Torrent's most powerful idea is the choking
mechanism.
October 21, 2013

9
Pardeshi Dhananjay.

• Unlike some other peer-to-peer downloading methods, BitTorrent
is a protocol that offloads some of the file tracking work to a
central server called a Tracker.
• Another difference is that it uses a principal called tit-for-tat.
• This means that in order to receive files, you have to give them.
This solves the problem of leeching -- one of developer Bram
Cohen's primary goal.

October 21, 2013

10
Pardeshi Dhananjay.

• The BitTorrent protocol was designed by Bram Cohen in April
2001, now maintained by BitTorrent, Inc.
• BitTorrent was written in Python prior to version 06 and was a
free software, now rebranded as µTorrent, no longer open source.

• In November of 2004, BitTorrent was responsible for 35% of all
Internet traffic.
• As of 2009, BitTorrent reportedly had about the same number of
active users online as viewers of YouTube and Facebook
combined.
October 21, 2013

11
Pardeshi Dhananjay.

• .torrent - A pointer file that directs your computer to the file you
want to download.
• Peer – Active node in the network that does not have the
complete file (upload & download).
• Leeches - People who download files but do not upload files on
their own computer with others.
• Seed - A computer with a complete copy of a BitTorrent file
(At least one seed computer is necessary for a BitTorrent
download to operate).
• Swarm - A group of computers simultaneously sending
(uploading) or receiving (downloading) the same file.
October 21, 2013

12
Pardeshi Dhananjay.

• Tracker - A server that keeps track of leechers and seeds in the
network. The tracker is centralized.
• Share Ratio – The ratio of amount of a file downloaded to that of
uploaded.
• Index sites -Also referred to as a torrent search engine.
Contains .torrent files for download.

October 21, 2013

13
Pardeshi Dhananjay.

•You open a Web page and click on a link for the file you want.
•BitTorrent client software communicates with a tracker to find
other computers running BitTorrent that have the complete file
(seed computers) and those with a portion of the file (peers that are
usually in the process of downloading the file).
•The tracker identifies the swarm, which are connected computers
that have all or a portion of the file and are in the process of sending
or receiving it.
•The tracker helps the client software to trade pieces of the file we
want with other computers in the swarm. Your computer receives
multiple pieces of the file simultaneously.
October 21, 2013

14
Pardeshi Dhananjay.



Swarm
 Set of peers all downloading the same file.
 Organized as a random mesh.



Each node knows list of pieces downloaded by neighbors.



Node requests pieces it does not own from neighbors.
 Exact method explained later.

October 21, 2013

15
Pardeshi Dhananjay.







October 21, 2013

File Ubantu.iso .torrent
hosted at a (well-known)
webserver.
The .torrent has address of
tracker for file.
The tracker, which runs on a
webserver as well, keeps
track of all peers
downloading file.

16
Pardeshi Dhananjay.

www.bittorrent.com

1
Peer

Uba

ntu

October 21, 2013




ent
torr
.iso.



File Ubantu.iso .torrent
hosted at a (well-known)
webserver.
The .torrent has address of
tracker for file.
The tracker, which runs on a
webserver as well, keeps
track of all peers
downloading file.

17
Pardeshi Dhananjay.

www.bittorrent.com





Peer

2
Addr
ess

October 21, 2013


es of p
eers

Tracker

File Ubantu.iso .torrent
hosted at a (well-known)
webserver.
The .torrent has address of
tracker for file.
The tracker, which runs on a
webserver as well, keeps
track of all peers
downloading file.

18
Pardeshi Dhananjay.

www.bittorrent.com




Peer



3

Tracker

File Ubantu.iso .torrent
hosted at a (well-known)
webserver
The .torrent has address of
tracker for file
The tracker, which runs on a
webserver as well, keeps
track of all peers
downloading file

Swarm
October 21, 2013

19
Pardeshi Dhananjay.

• Manages users participating in a torrent (known as peers).
• Stores statistics about the torrent.
• Allows peers to find each others and start communication.
• Keeps track of pieces of file and what peer have which piece.
• Peers communicate with tracker using HTTP protocol.

October 21, 2013

20
Pardeshi Dhananjay.

October 21, 2013

21
Pardeshi Dhananjay.

Peers:-



A peer is another computer on the internet that you connect to
and transfer data. Generally a peer does not have the complete
file.

Leeches:-



They are similar to peers in that they won’t have the complete
file. But the main difference between the two is a leech will not
upload once the file is downloaded.

Seeds:-



A computer that has a complete copy of a certain torrent. It only
uploads the file.

October 21, 2013

22
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

ce
un
o
nn
list
t-a
er
Ge
pe
nse
o
esp
pieces
R

A
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

pie
ces
pie
ces

C
Peer

B

[Seed]

Peer
[Leech]

23
Pardeshi Dhananjay.

Tracker

Web Server

.torre

nt

Web page
with link
to .torrent

C
A
Peer
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

B

[Seed]

Peer
[Leech]

24
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

ce
un
o
nn
a
etG

C
A
Peer
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

B

[Seed]

Peer
[Leech]

25
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

s
on
sp
Re

list
er
pe
e-

C

A
Peer
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

B

[Seed]

Peer
[Leech]

26
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

Shake-hand

C

A
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

Sh
ak
e-h
a

Peer
nd

B

[Seed]

Peer
[Leech]

27
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

pieces

A
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

pie
ces

C
Peer

B

[Seed]

Peer
[Leech]

28
Pardeshi Dhananjay.

Tracker

Web Server
Web page
with link
to .torrent

pieces

A
Peer
[Leech]
Downloade
r
October 21, 2013

“US”

pie
ces
pie
ces

C
Peer

B

[Seed]

Peer
[Leech]

29
Pardeshi Dhananjay.

Random

First Piece
 Special case, at the beginning.

Rarest

First
 General rule.

Endgame

Mode
 Special case.

October 21, 2013

30
Pardeshi Dhananjay.



Initially, a peer has nothing to trade.



Important to get a complete piece ASAP.
 So as to assemble first complete piece quickly.
 Then participate in uploads.



Select a random piece of the file and download it.

October 21, 2013

31
Pardeshi Dhananjay.



Look at all pieces at all peers, and request piece that’s owned
by fewest peers.


Increases diversity in the pieces downloaded.
 avoids case where a node and each of its peers have
exactly the same pieces; increases throughput.



Increases likelihood all pieces still available even if original
seed leaves before any one node has downloaded entire file.

October 21, 2013

32
Pardeshi Dhananjay.



Near the end, missing pieces are requested from every peer
containing them.



This ensures that a download is not prevented from
completion due to a single peer with a slow transfer rate.



Some bandwidth is wasted, but in practice, this is not too
much.

October 21, 2013

33
Pardeshi Dhananjay.

{1,2,3,4,5,6,7,8,9,10}

Seeder:

A

{}
{1,2,3}
{1,2,3,5}
{}
{1,2,3}
{1,2,3,4}
{1,2,3,4,5}
Downloader B
October 21, 2013

Downloader C

34
Pardeshi Dhananjay.



News of increased adoption of this revolutionary protocol
continues to emerge, and this seems to be a rich area for
continued research in computer networking, with
significant potential benefits to society.



If BitTorrent and similar protocols do find a legal place in
the internet, it will certainly help to pave the way for
distributing rich media on the internet, and provide the
impetus for new innovations.

October 21, 2013

35
Pardeshi Dhananjay.

1.
2.
3.
4.
5.
6.

http://computer.howstuffworks.com/bittorrent.htm
http://en.wikipedia.org/wiki/BitTorrent
http://computer.howstuffworks.com/file-sharing.htm
http://en.wikipedia.org/wiki/World_Wide_Web
http://en.wikipedia.org/wiki/Computer_network
http://www.bittorrent.com/help/guides/beginners-guide

October 21, 2013

36
Pardeshi Dhananjay.

October 21, 2013

37

More Related Content

What's hot

Project_report_BitTorrent
Project_report_BitTorrentProject_report_BitTorrent
Project_report_BitTorrentSrikanth Vanama
 
Bit Torrent Protocol Report
Bit Torrent Protocol ReportBit Torrent Protocol Report
Bit Torrent Protocol Report
SridharBR
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentationAvula Jagadeesh
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technologyguestc67adeb
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocol
tmont
 
BitTorrent
BitTorrentBitTorrent
BitTorrent
maheshmohanmu
 
Bit Torrent
Bit Torrent Bit Torrent
Bit Torrent
Ashish Kumar
 
Magnet links
Magnet linksMagnet links
Magnet links
Karwan Jacksi
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent Protocol
SridharBR
 
Bittorrent Basics
Bittorrent BasicsBittorrent Basics
Bittorrent Basics
Bhoomit Belani
 
Torrent technology
Torrent technologyTorrent technology
Torrent technology
Harsh Malpani
 
Josh Moulin: What every prosecutor should know about peer to-peer investigations
Josh Moulin: What every prosecutor should know about peer to-peer investigationsJosh Moulin: What every prosecutor should know about peer to-peer investigations
Josh Moulin: What every prosecutor should know about peer to-peer investigations
Josh Moulin, MSISA,CISSP
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, details
Mayur Kathale
 
Torrents
TorrentsTorrents
Torrents
Ahmad0Muhammad
 
Bit torrent
Bit torrentBit torrent
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
Chirodeep Das
 
Bit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONSBit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONSssanda3
 

What's hot (20)

Project_report_BitTorrent
Project_report_BitTorrentProject_report_BitTorrent
Project_report_BitTorrent
 
Bit Torrent Protocol Report
Bit Torrent Protocol ReportBit Torrent Protocol Report
Bit Torrent Protocol Report
 
Bit torrent documentation
Bit torrent documentationBit torrent documentation
Bit torrent documentation
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technology
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocol
 
BitTorrent
BitTorrentBitTorrent
BitTorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit Torrent
Bit Torrent Bit Torrent
Bit Torrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Magnet links
Magnet linksMagnet links
Magnet links
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent Protocol
 
Bittorrent Basics
Bittorrent BasicsBittorrent Basics
Bittorrent Basics
 
Torrent technology
Torrent technologyTorrent technology
Torrent technology
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Josh Moulin: What every prosecutor should know about peer to-peer investigations
Josh Moulin: What every prosecutor should know about peer to-peer investigationsJosh Moulin: What every prosecutor should know about peer to-peer investigations
Josh Moulin: What every prosecutor should know about peer to-peer investigations
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, details
 
Torrents
TorrentsTorrents
Torrents
 
Bit torrent
Bit torrentBit torrent
Bit torrent
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
 
Bit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONSBit torrent by SANDA SOLUTIONS
Bit torrent by SANDA SOLUTIONS
 

Viewers also liked

Facebook: la niña bonita
Facebook: la niña bonitaFacebook: la niña bonita
Facebook: la niña bonita
Octo Comunicación
 
Our first christmas tree
Our first christmas treeOur first christmas tree
Our first christmas treehopetwin2
 
Presentation1
Presentation1Presentation1
Presentation1hopetwin2
 
Color Your Own Renoir Paintings
Color Your Own Renoir PaintingsColor Your Own Renoir Paintings
Color Your Own Renoir PaintingsLa Sandra Akesson
 
Mtrends trending in 2014 groupm
Mtrends trending in 2014 groupmMtrends trending in 2014 groupm
Mtrends trending in 2014 groupm
vaibhav Dalvi
 
4eb8c1ea4973b
4eb8c1ea4973b4eb8c1ea4973b
4eb8c1ea4973bxmbird
 
Presentation1
Presentation1Presentation1
Presentation1agraaditi
 
Generacion de ordenadores
Generacion de ordenadoresGeneracion de ordenadores
Generacion de ordenadorescolombiano1234
 
Bedrijfspresentatie client 12.02
Bedrijfspresentatie client 12.02Bedrijfspresentatie client 12.02
Bedrijfspresentatie client 12.02Anouk Scharroo
 
Ficci frames 2015,
Ficci frames 2015, Ficci frames 2015,
Ficci frames 2015,
vaibhav Dalvi
 
Tecnicas estudio,pdf
Tecnicas estudio,pdfTecnicas estudio,pdf
Tecnicas estudio,pdfiratxeHO
 
Ice switzerland
Ice switzerlandIce switzerland
Ice switzerland
La Sandra Akesson
 
Ecommerce digital media_and_convergence_promise_oct_10_final_v2
Ecommerce digital media_and_convergence_promise_oct_10_final_v2 Ecommerce digital media_and_convergence_promise_oct_10_final_v2
Ecommerce digital media_and_convergence_promise_oct_10_final_v2
vaibhav Dalvi
 
Ficci frames 2014
Ficci frames 2014 Ficci frames 2014
Ficci frames 2014
vaibhav Dalvi
 
Ficci frames/ KPMG Report 2013
Ficci frames/ KPMG Report 2013Ficci frames/ KPMG Report 2013
Ficci frames/ KPMG Report 2013vaibhav Dalvi
 
Russie: identifier les besoins en nouveau aux terminaux charbonniers
Russie: identifier les besoins en nouveau aux terminaux charbonniersRussie: identifier les besoins en nouveau aux terminaux charbonniers
Russie: identifier les besoins en nouveau aux terminaux charbonniers
Olga Gopkalo
 
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercadosInversis Banco
 
Audience Research Analysis
Audience Research AnalysisAudience Research Analysis
Audience Research Analysis
oscarataj
 

Viewers also liked (20)

Facebook: la niña bonita
Facebook: la niña bonitaFacebook: la niña bonita
Facebook: la niña bonita
 
Our first christmas tree
Our first christmas treeOur first christmas tree
Our first christmas tree
 
Presentation1
Presentation1Presentation1
Presentation1
 
Color Your Own Renoir Paintings
Color Your Own Renoir PaintingsColor Your Own Renoir Paintings
Color Your Own Renoir Paintings
 
Mtrends trending in 2014 groupm
Mtrends trending in 2014 groupmMtrends trending in 2014 groupm
Mtrends trending in 2014 groupm
 
4eb8c1ea4973b
4eb8c1ea4973b4eb8c1ea4973b
4eb8c1ea4973b
 
Presentation1
Presentation1Presentation1
Presentation1
 
Generacion de ordenadores
Generacion de ordenadoresGeneracion de ordenadores
Generacion de ordenadores
 
Cape town
Cape townCape town
Cape town
 
Bedrijfspresentatie client 12.02
Bedrijfspresentatie client 12.02Bedrijfspresentatie client 12.02
Bedrijfspresentatie client 12.02
 
Zen Culture
Zen CultureZen Culture
Zen Culture
 
Ficci frames 2015,
Ficci frames 2015, Ficci frames 2015,
Ficci frames 2015,
 
Tecnicas estudio,pdf
Tecnicas estudio,pdfTecnicas estudio,pdf
Tecnicas estudio,pdf
 
Ice switzerland
Ice switzerlandIce switzerland
Ice switzerland
 
Ecommerce digital media_and_convergence_promise_oct_10_final_v2
Ecommerce digital media_and_convergence_promise_oct_10_final_v2 Ecommerce digital media_and_convergence_promise_oct_10_final_v2
Ecommerce digital media_and_convergence_promise_oct_10_final_v2
 
Ficci frames 2014
Ficci frames 2014 Ficci frames 2014
Ficci frames 2014
 
Ficci frames/ KPMG Report 2013
Ficci frames/ KPMG Report 2013Ficci frames/ KPMG Report 2013
Ficci frames/ KPMG Report 2013
 
Russie: identifier les besoins en nouveau aux terminaux charbonniers
Russie: identifier les besoins en nouveau aux terminaux charbonniersRussie: identifier les besoins en nouveau aux terminaux charbonniers
Russie: identifier les besoins en nouveau aux terminaux charbonniers
 
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados
21-10-13 ABC_ Fondos para superar un 'otoño caliente' en los mercados
 
Audience Research Analysis
Audience Research AnalysisAudience Research Analysis
Audience Research Analysis
 

Similar to Bittorrent Seminar by dhananjay pardeshi

BitTorrent
BitTorrent BitTorrent
BitTorrent
Manish Sharma
 
Peer to peer(p2 p)
Peer to peer(p2 p)Peer to peer(p2 p)
Peer to peer(p2 p)
Mukesh Pilaniya
 
Bittorrent
BittorrentBittorrent
Bittorrent
Anush Shenoy
 
Bit torrent and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
Dikshant Patodia
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent Protocol
ArunKumar7374
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4
raeshu
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
Karwan Jacksi
 
Bit torrent a revolution in p2p
Bit torrent a revolution in p2pBit torrent a revolution in p2p
Bit torrent a revolution in p2p
Mihir Jyoti Chakrabarti
 
Bit torrent
Bit torrentBit torrent
Bit torrent
Sonja Kristiansen
 
Bit torrent seminar
Bit torrent seminarBit torrent seminar
Bit torrent seminarbalu0503
 
Bittorrent
BittorrentBittorrent
Bittorrent
sonangrai
 
Bittorrent
BittorrentBittorrent
Bittorrent
Renuka Raj
 
Bittorrent
BittorrentBittorrent
Bittorrent
Renuka Raj
 
Torrent
TorrentTorrent
Bit Torrent technology
Bit Torrent technology Bit Torrent technology
Bit Torrent technology
Parth Akbari
 
The big book of bit torrent
The big book of bit torrentThe big book of bit torrent
The big book of bit torrentgkmv
 
Bit Torrent Protocol
Bit Torrent ProtocolBit Torrent Protocol
Bit Torrent ProtocolAli Habeeb
 
Bit Torrent presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentationAvula Jagadeesh
 
Filesharing using bittorrent protocol
Filesharing using bittorrent protocolFilesharing using bittorrent protocol
Filesharing using bittorrent protocol
Nishan Shetty
 

Similar to Bittorrent Seminar by dhananjay pardeshi (19)

BitTorrent
BitTorrent BitTorrent
BitTorrent
 
Peer to peer(p2 p)
Peer to peer(p2 p)Peer to peer(p2 p)
Peer to peer(p2 p)
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bit torrent and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent Protocol
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
Bit torrent a revolution in p2p
Bit torrent a revolution in p2pBit torrent a revolution in p2p
Bit torrent a revolution in p2p
 
Bit torrent
Bit torrentBit torrent
Bit torrent
 
Bit torrent seminar
Bit torrent seminarBit torrent seminar
Bit torrent seminar
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Torrent
TorrentTorrent
Torrent
 
Bit Torrent technology
Bit Torrent technology Bit Torrent technology
Bit Torrent technology
 
The big book of bit torrent
The big book of bit torrentThe big book of bit torrent
The big book of bit torrent
 
Bit Torrent Protocol
Bit Torrent ProtocolBit Torrent Protocol
Bit Torrent Protocol
 
Bit Torrent presentation
Bit Torrent presentationBit Torrent presentation
Bit Torrent presentation
 
Filesharing using bittorrent protocol
Filesharing using bittorrent protocolFilesharing using bittorrent protocol
Filesharing using bittorrent protocol
 

Recently uploaded

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 

Recently uploaded (20)

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 

Bittorrent Seminar by dhananjay pardeshi

  • 1. Pardeshi Dhananjay. Guide:Mrs. Kale J. S. October 21, 2013 Presented By:Hamand Amol Sambhaji. Pardeshi Dhananjay Rajendra.
  • 2. Pardeshi Dhananjay. • • • • • • • • • • • • • • Introduction Types Of Data Sharing Traditional Client-Server Downloading Peer-Peer Downloading What is BitTorrent? Why BitTorrent? Origin! BitTorrent Terminology How BitTorrent works? Swarm, Tracker, Peers, Leeches, Seeds Architecture of BitTorrent Piece Selection Conclusion References October 21, 2013 2
  • 3. Pardeshi Dhananjay. • Humans tend to share things. • As electronic data plays a vital role these days, they acquire the “sharing” attribute. • Sharing electronic data(emails, eBooks, multimedia files) is the need of the hour. • Usually the data is of large size and takes too much time and bandwidth to be downloaded. • Data sharing must be fast enough as we are now moving to 3G and 4G technologies, users expect data sharing at high speeds. October 21, 2013 3
  • 4. Pardeshi Dhananjay.  Manual Sharing Using Removable Media: Such as Memory Cards, USB drives, External Hard disks etc.  Centralized Servers of Computer Networks: Network of computers interconnected for sharing resources and information via a central server (One server – many clients).  Distributed Peer-to-Peer networking: Is a Computer network where each system in the network acts as client or server allowing shared access of resources without the need of central server. October 21, 2013 4
  • 5. Pardeshi Dhananjay. • The client – server model is a centralized model. • A server is a computer that selectively shares its data on Web. • A client is a computer that contacts the server in order to request for the data. Client • The Web browser software on your computer (the client) tells the server to transfer a copy of the file to your computer. • Single server provides service to several clients simultaneously. October 21, 2013 Server Handling multiple requests. 5
  • 6. Pardeshi Dhananjay. • Protocols used:- 1)FTP (File Transfer Protocol) 2)HTTP (Hypertext Transfer Protocol). • The transfer speed is affected by a number of variables, including the type of protocol, the amount of traffic on the server and the number of other computers that are downloading the file. • If the file is both large and popular, the demands on the server are great, and the download will be slow. • Client-server model fails if 1.Single server fails. 2.Cant afford to deploy enough servers. October 21, 2013 6
  • 7. Pardeshi Dhananjay. • A peer-to-peer (P2P) network is a decentralized network. • In peer-to-peer sharing, all individual nodes(‘Peers’) act as both supplier and consumer of data or resources. • In peer-to-peer sharing, a software program is used instead a Web Browser to locate computers that have the file user want. • You run peer-to-peer file-sharing software (for example, a Napster program or Gnutella) on your computer and send out a request for the file you want to download. • To locate the file, the software queries other computers that are connected to the Internet and running the file-sharing software. October 21, 2013 7
  • 8. Pardeshi Dhananjay. • When the software finds a computer that has the file you want on its hard drive , the download begins. • Others using the file-sharing software can obtain files they want from your computer's hard drive. • The file-transfer load is distributed between the computers exchanging files, but file searches and transfers from your computer to others can cause bottlenecks. October 21, 2013 8
  • 9. Pardeshi Dhananjay. • Bit-Torrent is a peer to peer (P2P) protocol used for sharing files over the network. • A P2P client is used on every participating nodes. • No central resource allocation. • A single data is accessed effectively by hundreds of peers. • The data is chopped into pieces and further into sub pieces. • Every peer acts as both, client and server. • One of Bit Torrent's most powerful idea is the choking mechanism. October 21, 2013 9
  • 10. Pardeshi Dhananjay. • Unlike some other peer-to-peer downloading methods, BitTorrent is a protocol that offloads some of the file tracking work to a central server called a Tracker. • Another difference is that it uses a principal called tit-for-tat. • This means that in order to receive files, you have to give them. This solves the problem of leeching -- one of developer Bram Cohen's primary goal. October 21, 2013 10
  • 11. Pardeshi Dhananjay. • The BitTorrent protocol was designed by Bram Cohen in April 2001, now maintained by BitTorrent, Inc. • BitTorrent was written in Python prior to version 06 and was a free software, now rebranded as µTorrent, no longer open source. • In November of 2004, BitTorrent was responsible for 35% of all Internet traffic. • As of 2009, BitTorrent reportedly had about the same number of active users online as viewers of YouTube and Facebook combined. October 21, 2013 11
  • 12. Pardeshi Dhananjay. • .torrent - A pointer file that directs your computer to the file you want to download. • Peer – Active node in the network that does not have the complete file (upload & download). • Leeches - People who download files but do not upload files on their own computer with others. • Seed - A computer with a complete copy of a BitTorrent file (At least one seed computer is necessary for a BitTorrent download to operate). • Swarm - A group of computers simultaneously sending (uploading) or receiving (downloading) the same file. October 21, 2013 12
  • 13. Pardeshi Dhananjay. • Tracker - A server that keeps track of leechers and seeds in the network. The tracker is centralized. • Share Ratio – The ratio of amount of a file downloaded to that of uploaded. • Index sites -Also referred to as a torrent search engine. Contains .torrent files for download. October 21, 2013 13
  • 14. Pardeshi Dhananjay. •You open a Web page and click on a link for the file you want. •BitTorrent client software communicates with a tracker to find other computers running BitTorrent that have the complete file (seed computers) and those with a portion of the file (peers that are usually in the process of downloading the file). •The tracker identifies the swarm, which are connected computers that have all or a portion of the file and are in the process of sending or receiving it. •The tracker helps the client software to trade pieces of the file we want with other computers in the swarm. Your computer receives multiple pieces of the file simultaneously. October 21, 2013 14
  • 15. Pardeshi Dhananjay.  Swarm  Set of peers all downloading the same file.  Organized as a random mesh.  Each node knows list of pieces downloaded by neighbors.  Node requests pieces it does not own from neighbors.  Exact method explained later. October 21, 2013 15
  • 16. Pardeshi Dhananjay.    October 21, 2013 File Ubantu.iso .torrent hosted at a (well-known) webserver. The .torrent has address of tracker for file. The tracker, which runs on a webserver as well, keeps track of all peers downloading file. 16
  • 17. Pardeshi Dhananjay. www.bittorrent.com 1 Peer Uba ntu October 21, 2013   ent torr .iso.  File Ubantu.iso .torrent hosted at a (well-known) webserver. The .torrent has address of tracker for file. The tracker, which runs on a webserver as well, keeps track of all peers downloading file. 17
  • 18. Pardeshi Dhananjay. www.bittorrent.com   Peer 2 Addr ess October 21, 2013  es of p eers Tracker File Ubantu.iso .torrent hosted at a (well-known) webserver. The .torrent has address of tracker for file. The tracker, which runs on a webserver as well, keeps track of all peers downloading file. 18
  • 19. Pardeshi Dhananjay. www.bittorrent.com   Peer  3 Tracker File Ubantu.iso .torrent hosted at a (well-known) webserver The .torrent has address of tracker for file The tracker, which runs on a webserver as well, keeps track of all peers downloading file Swarm October 21, 2013 19
  • 20. Pardeshi Dhananjay. • Manages users participating in a torrent (known as peers). • Stores statistics about the torrent. • Allows peers to find each others and start communication. • Keeps track of pieces of file and what peer have which piece. • Peers communicate with tracker using HTTP protocol. October 21, 2013 20
  • 22. Pardeshi Dhananjay. Peers:-  A peer is another computer on the internet that you connect to and transfer data. Generally a peer does not have the complete file. Leeches:-  They are similar to peers in that they won’t have the complete file. But the main difference between the two is a leech will not upload once the file is downloaded. Seeds:-  A computer that has a complete copy of a certain torrent. It only uploads the file. October 21, 2013 22
  • 23. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent ce un o nn list t-a er Ge pe nse o esp pieces R A Peer [Leech] Downloade r October 21, 2013 “US” pie ces pie ces C Peer B [Seed] Peer [Leech] 23
  • 24. Pardeshi Dhananjay. Tracker Web Server .torre nt Web page with link to .torrent C A Peer Peer [Leech] Downloade r October 21, 2013 “US” B [Seed] Peer [Leech] 24
  • 25. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent ce un o nn a etG C A Peer Peer [Leech] Downloade r October 21, 2013 “US” B [Seed] Peer [Leech] 25
  • 26. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent s on sp Re list er pe e- C A Peer Peer [Leech] Downloade r October 21, 2013 “US” B [Seed] Peer [Leech] 26
  • 27. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent Shake-hand C A Peer [Leech] Downloade r October 21, 2013 “US” Sh ak e-h a Peer nd B [Seed] Peer [Leech] 27
  • 28. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent pieces A Peer [Leech] Downloade r October 21, 2013 “US” pie ces C Peer B [Seed] Peer [Leech] 28
  • 29. Pardeshi Dhananjay. Tracker Web Server Web page with link to .torrent pieces A Peer [Leech] Downloade r October 21, 2013 “US” pie ces pie ces C Peer B [Seed] Peer [Leech] 29
  • 30. Pardeshi Dhananjay. Random First Piece  Special case, at the beginning. Rarest First  General rule. Endgame Mode  Special case. October 21, 2013 30
  • 31. Pardeshi Dhananjay.  Initially, a peer has nothing to trade.  Important to get a complete piece ASAP.  So as to assemble first complete piece quickly.  Then participate in uploads.  Select a random piece of the file and download it. October 21, 2013 31
  • 32. Pardeshi Dhananjay.  Look at all pieces at all peers, and request piece that’s owned by fewest peers.  Increases diversity in the pieces downloaded.  avoids case where a node and each of its peers have exactly the same pieces; increases throughput.  Increases likelihood all pieces still available even if original seed leaves before any one node has downloaded entire file. October 21, 2013 32
  • 33. Pardeshi Dhananjay.  Near the end, missing pieces are requested from every peer containing them.  This ensures that a download is not prevented from completion due to a single peer with a slow transfer rate.  Some bandwidth is wasted, but in practice, this is not too much. October 21, 2013 33
  • 35. Pardeshi Dhananjay.  News of increased adoption of this revolutionary protocol continues to emerge, and this seems to be a rich area for continued research in computer networking, with significant potential benefits to society.  If BitTorrent and similar protocols do find a legal place in the internet, it will certainly help to pave the way for distributing rich media on the internet, and provide the impetus for new innovations. October 21, 2013 35

Editor's Notes

  1. {}