Bit Torrent

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 20

BIT TORRENT

Student:
Agenda
• Introduction
• Description
• Architecture
• How it works
• Conclusion
Introduction
• BitTorrent was created by Bram Cohen in 2002.
• It is very different from other P2P file sharing protocols
because it does not have any search functionality in the
protocol.
Description
• BitTorrent is an application layer network protocol used to
distribute files. It uses a peer to-peer (P2P) network
architecture where many peers act as a client and a
server by downloading from peers at the same time they
are uploading to others.
• Allows users to join a "swarm" of hosts to download and
upload from each other simultaneously
• • Shares contents(files) efficiently using “file swarming”
• • Needs many concurrent sessions
• • Adopts Hybrid P2P instead of centralized P2P
Description
BitTorrent architecture
BitTorrent Architecture
• BitTorrent is a hybrid network using the both client-server
architecture and the peer-to peer architecture.
• The tracker’s help peers find other peers.
• A tracker consists of many torrent sessions
• Peer connect to->tracker->response with list of peer
Terminology
• Block= is a piece of a file. When a file is distributed via
BitTorrent, it is broken into smaller pieces, or blocks.
• Client= the BitTorrent software used to download and
upload files. The BitTorrent client can be downloaded
here.
• leech or leecher usually refers to a peer that is
downloading while uploading very little, or nothing at all.
Sometimes this is unintentional and due to firewall issues.
The term leech is also sometimes used to simply refer to
a peer that is not seeding yet.
• Peer= one of a group of clients downloading the same
file.
Terminology
• re-seed = is the act of putting up a new complete copy of
a file after no more seeds are available to download from.
This is done to allow clients with only partial downloads to
complete the download process and increases availability
• Seed= a complete copy of the file being made available
for download.
• swarm =a group of seeds and peers sharing the same
torrent.
• tracker a server that keeps track of the peers and seeds
in a swarm. A tracker does not have a copy of the file
itself, but it helps manage the file transfer process.
BitTorrent architecture
Entities:
• Torrent Repository Server
• Trackers
• Peers

• Seeder= a peer with whole content (100%)


• Leecher= a peer with a part of content (12%)
• Client= is the local Peer
• Simply Peer= peers connected to the client
Steps :
• 1) The client need to get a meta-data file from public
server (Toorent Repository Server) beceause this file
contains the addressed of Trackers.

• 2) Client do an announce to the Tracker if desire to join in


swarm.The aswer is a list of Peers sharing some content

• 3)Try to establish the connection with others peers, in


order to start the sending and receiving content.
How it works a Peer to peer with
BitTorrent?
1) The originating server (the seed) makes available
one copy of the file, which is then split up into chunks.
Different chunks are sent out to the various computers
(BitTorrent clients) trying to get hold of a copy of the file.
Step 1.
How it works ?

2) Each client uploads their part of the file to other


clients while simultaneously downloading bits of the file
they don't have from other clients. All the clients work
together as a swarm to share the file. The file-sharing
process doesn't happen in the systematic, sequential way
we show here (purely for simplicity): clients upload and
download simultaneously and the file actually builds up in a
more random way. There are often hundreds of clients
involved in each swarm.
Step 2.
Step 2
How it works?
3) Eventually, every client receives a complete copy of
the file. However, in this example, as in real life, one client
(lower left) finishes downloading before the others. If the
owner of that machine switches off as soon as they're
done, the other clients will never receive complete copies
of the file!
Step 3.
Protocol Specification
Conclusions
• BitTorrent was conceived as a way of distributing large
files more quickly, efficiently, and reliably.
• . Thanks to BitTorrent though, the download of large files
has become more feasible, and people have become
accustomed to acquiring video through the net.

You might also like