Date post: | 07-Apr-2018 |
Category: |
Documents |
Upload: | muhammad-zia-shahid |
View: | 219 times |
Download: | 0 times |
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 1/21
Peer-to-Peer Systems
By: Syed Ashfaq Hussain Shah – MIT 01093001
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 2/21
Topics of the session
• Why should we care for Peer-to-Peer?
• Introduction to Peer-to-Peer
• Properties of a Peer-to-Peer System
• Generations and Applications of P2P
• Future Development and Technology Trends Impacting P2P
• References
• Questions
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 3/21
Why should we care for Peer-to-Peer?
• Internet traffic by application, Researched by:
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 4/21
Introduction – Client/Server Systems
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 5/21
Introduction – Peer
• Merriam Webster dictionary defines the ‘peer’ as:
one that is of equal standing with another: Equal; especially: one
belonging to the same societal group especially based on age, grade,
or status.
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 6/21
Introduction – Peer-to-Peer Systems
.
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 7/21
Properties of a Peer-to-Peer System
It is a distributed computing with following desirable features:
• Resource Sharing
• Dual client/server role
• Decentralization/Autonomy
• Scalability
• Robustness/Self Organization
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 8/21
GENERATIONS ANDAPPLICATIONS OF P2P
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 9/21
Generations and Applications of P2P
Peer-to-Peer Systems are being classified in three generations as follows:
• 1st Generation: Centralized Systems – Napster.
• 2nd Generation: Flooding-Based Systems – Freenet, Gnutella,
KazaA, BitTorrent.
• 3rd Generation: Distributed Hash Table (DHT) – Pastry, Tapestry,
Chord.
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 10/21
Generations and Applications of P2P
Napster server
Index1. File location
2. List of peers
request
offering the file
peers
3. File request
4. File deliv ered5. Index update
Napster server
Index
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 11/21
Generations and Applications of P2P
A BitTorrent file distribution consists of these entities:
1. An ordinary web server
2. A static 'metainfo' file
3. A BitTorrent tracker
4. An 'original' downloader
5. The end user web browsers
6. The end user downloaders / BitTorrent Client Application
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 12/21
Generations and Applications of P2P
‘metainfo’ files are bencoded dictionaries with the following keys:
– announce – The URL of the tracker
– info – This maps to a dictionary, with described keys i.e. piece
length, pieces, files, path etc.
To start downloading, a user does the following:
– Install BitTorrent client.
– Surf the web.
– Click on a link to a .torrent file to save it locally.
– Run the BitTorrent client and wait for download to complete. – Tell downloader to exit (it keeps uploading until this happens).
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 13/21
Generations and Applications of P2P
The possible messages and their values exchanged by Peers are:
– choke
– unchoke
– interested
– not interested
– have
– Bitfield – Indicates pieces already sent by this peer
– Request
– piece
– cancel
– announce – The URL of the tracker
– info
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 14/21
Generations and Applications of P2P
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 15/21
Generations and Applications of P2P
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 16/21
Generations and Applications of P2P
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 17/21
Future Development & Tech. Trends
Impacting P2P. • IPTV to P2PTV
• High bandwidth - LightSquared
• Interconnected devices forming spatial networks
• Netsukuku
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 18/21
References
• Distributed Systems Concepts and Design 4th Edition by George
Coulouris, Jean Dollimore and Tim Kindberg Published by Pearson
Education (2005).
• P2P Networking and Applications by John F. Buford, Heather Yu
and Eng Keong Lua Published by Morgan Kaufmann (2009).• Handbook of Peer-to-Peer Networking by Xuemin Shen, Heather Yu,
John Buford and Mursalin Akon, Published by Springer (2010).
• Network+ Guide to Networks 5th Edition by Tamara Dean Published
by Course Technology (2010).
• The Bittorrent P2p File-Sharing System: Measurements and Analysis
by J.A. Pouwelse, P. Garbacki, D.H.J. Epema, H.J. Sips (Peer-to-Peer
Systems 2005).
• The Rise and Fall of Napster – an Evolutionary Approach by Bengt
Carlsson, Rune Gustavsson (2001).
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 19/21
References
• www.velocix.com
• www.bittorrent.org
• www.howstuffworks.com
• www.lightsquared.com
• www.netsukuku.freaknet.org
• www.wikimedia.org
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 20/21
QUESTIONS ?
8/6/2019 Term Paper - P2P Systems Presentation
http://slidepdf.com/reader/full/term-paper-p2p-systems-presentation 21/21
Template Provided By
End of Presentation