220 likes | 398 Views
ACS Seminar. Architectures and Concepts for File Sharing Networks Student: Jie Shen Mentor: Dr. Stephan Rupp Institute of Communication Networks and Computer Engineering University of Stuttgart. Motivation. How to share huge amount of information all over the internet?
E N D
ACS Seminar Architectures and Concepts for File Sharing Networks Student:Jie Shen Mentor: Dr. Stephan Rupp Institute of Communication Networks and Computer Engineering University of Stuttgart
Motivation • How to share huge amount of information all over the internet? • More than 50 file sharing networks widely used in our life, such as DC++, BitTorrent, etc. • Why we need so many different systems? Why don’t we just use one file sharing network? ACS Seminar - Architectures and Concepts for File Sharing Networks
Topic • Analyze the general architectures of file sharing networks. • Go through several existing file sharing networks. Is the interconnection possible? • Make a comparison. ACS Seminar - Architectures and Concepts for File Sharing Networks
Agenda • Introduction : P2P Concept • Existing File Sharing Networks • Napster • BitTorrent • JXTA • Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
Introduction: P2P Network ACS Seminar - Architectures and Concepts for File Sharing Networks
Introduction: Concepts • Peers • Simple Peers: designed to serve a single end user • Rendezvous Peers: a network location used to discover other peers and peers’ resources • Router Peers: deal with firewall or NAT • Advertisements: Centralized/Decentralized • No Discovery: eliminate the process of discovery entirely • Direct Discovery: send request to any other peers directly • Indirect Discovery: send request to rendezvous peer ACS Seminar - Architectures and Concepts for File Sharing Networks
Agenda • Introduction : P2P Concept • Existing File Sharing Networks • Napster • BitTorrent • JXTA • Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
Napster • All the music you want! • Napster can be modeled as a single rendezvous peer and multiple simple peers, using TCP as network transport. • Advertisements are centralized and stored on the rendezvous peer. They will be updated when users log into/out of the system, or when users change their share lists. ACS Seminar - Architectures and Concepts for File Sharing Networks
Napster : download • Send SEARCH(200) or BROWSE AN USER’S FILES(211) to get the share lists. • Send DOWNLOAD REQUEST(203) to get IP, port, etc. • Connect to the file-holder to download. • Send DOWNLOADING FILE(218). • Send DOWNLOAD COMPLETE(219). ACS Seminar - Architectures and Concepts for File Sharing Networks
Agenda • Introduction : P2P Concept • Existing File Sharing Networks • Napster • BitTorrent • JXTA • Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
BitTorrent • It is designed to facilitate file transfers among multiple peers across unreliable networks and support multiple download. • It also can be modeled as a single rendezvous peer and multiple simple peers, using TCP as network transport. • Advertisements are also centralized. They are updated when any piece of any file is successfully downloaded by any downloader. ACS Seminar - Architectures and Concepts for File Sharing Networks
BitTorrent : download • Get the ‘metainfo’ file from internet. • Get connection info from the Rendezvous peer. • Upload and download from each other. • Periodically check (by HTTP) with the Rendezvous peer to keep it informed of download progress. ACS Seminar - Architectures and Concepts for File Sharing Networks
Agenda • Introduction : P2P Concept • Existing File Sharing Networks • Napster • BitTorrent • JXTA • Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
JXTA • Open-source P2P platform developed by SUN. • Any application-specific assumptions are stripped. • OS-independent • Transport-protocol-independent • Language-independent ACS Seminar - Architectures and Concepts for File Sharing Networks
JXTA • The core of JXTA is a set of protocols • Peer Discovery Protocol: Enables peers to discover peers’ services on the network. • Peer Resolver Protocol: Allows peers to send and process generic requests. • Rendezvous Protocol: Handles the details of propagating messages between peers. • Peer Information Protocol: Provides peers with a way to obtain status information from other peers on the network. • Pipe Binding Protocol: Provides a mechanism to bind a virtual communication channel to a peer endpoint. • Peer Endpoint Protocol: Provides a set of messages used to enable message routing from a source to a destination peer. ACS Seminar - Architectures and Concepts for File Sharing Networks
ACS Seminar - Architectures and Concepts for File Sharing Networks
JXTA : Peer Resolver • Send Resolver Query Message to all of its known peers. • Send Resolver Response Message back. • Propagate the original query. • Send Resolver Response Message back. ACS Seminar - Architectures and Concepts for File Sharing Networks
Interconnected with JXTA ACS Seminar - Architectures and Concepts for File Sharing Networks
Agenda • Introduction : P2P Concept • Existing File Sharing Networks • Napster • BitTorrent • JXTA • Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks
Comparison & Conclusion ACS Seminar - Architectures and Concepts for File Sharing Networks