Download presentation
Presentation is loading. Please wait.
Published byEmily Elliott Modified over 9 years ago
1
cs423-cotter1 P2P Discovering P2P (Miller) Internet
2
2 Peer to Peer Processing
3
cs423-cotter3 P2P Applications Person 2 Person (Instant Messaging) –AOL, MSN File Sharing –Napster, Gnutella, BitTorrent, KaZaA Distributed Computing –seti@home, climateprediction.net P2P Collaboration –Lotus Notes, Microsoft
4
cs423-cotter4 P2P Traffic Estimates 2004 –BitTorrent accounts for 30% of all Internet Traffic 2005 –File-sharing accounts for 60% of all Internet Traffic –For file-sharing; 62% video, 11% audio –eDonkey dominates video traffic over BitTorrent –Gnutella – 69% music 2010 –Internet video traffic accounts for 40% of all Internet Traffic –P2P traffic accounts for 40% of all Internet Traffic 2015 –P2P traffic will account for 16% of all Internet Traffic, although volume will double from 2010
5
cs423-cotter5 P2P Process Model Discovery (?) –Who is out there that I can talk to? Connection (C) –What is their address, so that I can connect? Messaging (M) –What kinds of things do they support, and what am I looking for? Data Distribution (D) –Send data
6
cs423-cotter6 P(erson)2P(erson) Models Server Based Instant Messaging ?CMD
7
cs423-cotter7 P(erson)2P(erson) Models Peer-based Instant Messaging ?C CMD ?C
8
cs423-cotter8 P(erson)2P(erson) Models Mixed Server / Peer Instant Messaging ?CM CD ?CM
9
cs423-cotter9 Fall 2011 Project – P2P IM 1.UDP Client (Server-based IM) 2.TCP Servent (peer-based) – Windows 3.TCP Servent (peer-based) – Linux 4.Java Servent
10
cs423-cotter10 UDP IM Client Functionality (Server-based IM) Discovery (Log onto Server) –Receive list of current users –Notify current users of new arrival –Format: msg#;1;myName Connection (to Server) –Happens during logon to server Messaging (Through Server) –Format: msg#;2;myName buddyName message
11
cs423-cotter11 UDP IM Client Functionality Data Distribution –Not included in this assignment Keep-Alive signal –Periodically generated by server to test whether client is still running or not. –Format:tst;4;keep-alive Connection closing –Notify users of my departure –Format: msg#;3;myName
12
cs423-cotter12 Example Session (User1)
13
cs423-cotter13 Example Session (User2)
14
IM Server Log cs423-cotter14
15
cs423-cotter15 Summary P2P Traffic represents a significant portion of Internet traffic today. It incorporates the functions of both client and server into a single program (servent) There are many ways in which P2P communications can be supported.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.