19
ENSC 427: Final Project Presentation ENSC 427: Final Project Presentation Peer Peer-to to-Server Server-Peer (P2SP) Simulation and Network Load Analysis Peer (P2SP) Simulation and Network Load Analysis Shuozhi Yang ([email protected]) Shuozhi Yang ([email protected]) Danny Jiang ([email protected]) Gary Heng ([email protected]) http://www.sfu.ca/~gheng/427web/427_website/main.html

final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

ENSC 427: Final Project PresentationENSC 427: Final Project Presentation

PeerPeer--toto--ServerServer--Peer (P2SP) Simulation and Network Load AnalysisPeer (P2SP) Simulation and Network Load Analysis

Shuozhi Yang ([email protected])Shuozhi Yang ([email protected])

Danny Jiang ([email protected])

Gary Heng ([email protected])

http://www.sfu.ca/~gheng/427web/427_website/main.html

Page 2: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

AgendaAgenda

� Objectives

� Introduction to P2SP Network

� OPNET Implementation

Simulation Result� Simulation Result

� Animation

� Future Improvement

Page 3: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

ObjectivesObjectives

� Implement the amazing but controversial P2SP protocol with OPNET

� Analyze

◦ The performance of P2SP network compared with simple P2S and P2P

◦ The impact of P2SP on server load

Page 4: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Introduction to P2SP NetworkIntroduction to P2SP Network

� Used to acquire desired data from the Internet as well as the peers

� Combining the idea of P2S and P2P

� Sharing information of the servers that contain desired data

� Examples:

◦ Bitcomet◦ Thunder

Page 5: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

P2S ProtocolsP2S Protocols

� Common Internet data transfer protocol

◦ HyperTextTransfer Protocol (HTTP)

◦ File Transfer Protocol (FTP)◦ File Transfer Protocol (FTP)

◦ Post Office Protocol version 3 (POP3)

� Example:

◦ IE◦ Flashget

Page 6: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Gnutella ping/pong routing protocolGnutella ping/pong routing protocol

2 3

8 96 7

P2P ProtocolsP2P Protocols

2 3

1

54

10

Ping

Pong

Page 7: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Implementation OPNETImplementation OPNET

Page 8: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Node modelNode model

Page 9: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Process modelProcess model

Page 10: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

P2SP Network ConfigurationP2SP Network Configuration

Server based network P2SP network

Page 11: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Simulation Results & DiscussionSimulation Results & Discussion

� Server Load

Page 12: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Ethernet Delay Vs LoadEthernet Delay Vs Load

Page 13: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

P2S vs. P2SP P2S vs. P2SP

Peer-to-Server Peer-to-Server-Peer

Page 14: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

P2S vs. P2SP ContinueP2S vs. P2SP Continue

Page 15: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Queuing Delay Queuing Delay

Page 16: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Performance EvaluationPerformance Evaluation

Page 17: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

OPNET AnimationOPNET Animation

Page 18: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

Future ImprovementFuture Improvement

� Add server database in P2SP network model to emulate the real working environment

� Complete the data packet format used in � Complete the data packet format used in P2SP protocol

� Implement workaround to avoid the load impact on the server

Page 19: final project presentation - Simon Fraser University › ... › Spring09 › Projects › team9 › 427_final_project_pres… · ENSC 427: Final Project Presentation PeerPeer--ttoo--Server

ReferenceReference

� [1] Wikipedia.org, Bitcomet. [Online]. Available: http://en.wikipedia.org/wiki/BitComet.[Accessed: March 25, 2009].

� [2] Wikipedia.org.,Kademlia [Online]. Available: http://en.wikipedia.org/wiki/Kademlia. [Accessed: March 21, 2009].

� [3] Hypertext transfer protocol (HTTP), TCP/IP protocol architecture. [Online]. Available: http://openlearn.open.ac.uk/mod/resource/view.php?id=175851.[Acceshttp://openlearn.open.ac.uk/mod/resource/view.php?id=175851.[Accessed: March 26, 2009].

� [4] FTP Protocol. [Online]. Available: http://www.eli.sdsu.edu/courses/spring96/cs596/notes/ftp/ftp.html.[Accessed: March 23, 2009].

� [5] Scalability and Robustness of the Gnutella protocol. [Online]. Available: http://www.sfu.ca/~eelghone/. [Accessed: March 26, 2009]