Bit torrent protocol

Post on 07-Jul-2015

121 views 1 download

Tags:

description

peer to peer torrent network

Transcript of Bit torrent protocol

SEMINAR ON-

PRESENTED BY:-

D BIPUL LOMGA

INTRODUCTIONCLIENT- SERVER SYSTEM (CENTRALIZED)PEER TO PEER NETWORK SYSTEM (DECENTRALIZED)COMPARISONSWHAT IS “BIT TORRENT”?BIT TORRENT COMPONENTSTHE ARCHITECTURE OF BIT TORRENTWORKINGADVANTAGESDISADVANTAGESCONCLUSION

BIT TORRENT IS CREATED BY BRAM COHEN IN 2001.

IT IS PEER TO PEER (P2P)FIL TRANSFERING SYSTEM.

IT IS USED TO TRANSFER VERY HUGE FILE.

BIT TORRENT PROVIDES PROTOCOL TO ALL TORRENT CLIENTS.

THIS IS MOST POPULAR AND EFFICIENT FILE TRASFERRNG SYSTEM.

MORE EFFICIENT THAN CLIENT –SERVER SYSTEM.

Cl i ent - Server Comput i ng or net worki ng i s a di st ri but ed appl i cat i on archi t ect ure That part i t ons t asks or work l oad bet ween servi ce provi des ( server) And servi ces request ers cal l ed c l i ent s…

Client send get message to server.

Server send files.

Transfer is handled by FTP & HTTP.

TRAFFIC CONGESTION.

CRASHES WHOLES SYSTEM WHEN SERVER IS FAILS.

PEER

each peer directly connected to other peer.it is used for large file transfer.peer uploads data while downloading any files.File to be transfer is divided into equal size of pieces.These pieces are downloaded from different peer parallely.

Bit torrent client software..torrent file or Metainfo file.LeechersPeersSeedsTrackerPiece(of a file)DataTorrent index server

Client s/w-• Program which sites on a peers computer and implement the protocol.{bit torrent.}• Reads .torrent file

It controls all operations such as.-•Reads information contents in .torrent file.•After reading .torrent file it send message to tracker to send list of peers.•Connected to peers•Keep all records of the file which is receiving.ich is receiving.

It has extension as .torrentIt is extremely small(up to 100 kb).It is downloaded from torrent index server.

Contains the information that points to the actual file and people who are sharing it.

•InfoSize of pieceTotal no. of pieceSHA number

THERE ARE THE CLIENTS WHO HAS ENTIRE FILE.THEY UPLOADS FILES TO OTHERS PEERS.

It is the client which is responsible for file transfer.

Downloading speed of any file using torrent depends on a number of peers.

Peers=leech + seed

1 2 3 4 5 6 7 8

The file which to be download is divided similar size of pieces.These pieces are downloaded parallel.Each pieces of download different peers.

Tracker is the server.It contains all database about peers of a torrentIt provides all list of peers which are associated with a paticular torrentThese trackers are mentioned in the metafile.Client s/w sends request to send list of peers.Connected all peers.

Source of .torrent fileTorrent search engine

Trackers-Tracks peer in torrent provides tracker list

Torrent-Group of peers exchanging chunks of a file

•Bit torrent is an open –source program offers a spyware –and nuisance –free installation.•Allows users to share large amounts of data in a short span of time.•Dicourages “freeloading” by rewarding fastest uploaders.•The more popular a file is –the more people want a copy of it –the faster it can be downloaded,because there are more places to gets pieces of it.

•Bit torrent is a great protocols to distribute large files.

•Bit torrent was conceived as a way of distributing large file more quickly,efficiently and reliably.

•Bit torrent is a peer-to-peer file sharing system that is quickly becoming the method of choice for publishing and sharing large files across the internet.

?