File Sharing Prepared By: Mahmud Gabareen Eyal Biber Itamar Arie Lecturer Iris Reinhartz-Berger.

Slides:



Advertisements
Similar presentations
The BitTorrent Protocol. What is BitTorrent?  Efficient content distribution system using file swarming. Does not perform all the functions of a typical.
Advertisements

Incentives Build Robustness in BitTorrent Bram Cohen.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Search and Replication in Unstructured Peer-to-Peer Networks Pei Cao, Christine Lv., Edith Cohen, Kai Li and Scott Shenker ICS 2002.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Peer to Peer (P2P) Networks and File sharing. By: Ryan Farrell.
Lesson 1-Introducing Basic Network Concepts
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
FRIENDS: File Retrieval In a dEcentralized Network Distribution System Steven Huang, Kevin Li Computer Science and Engineering University of California,
Presented by Stephen Kozy. Presentation Outline Definition and explanation Comparison and Examples Advantages and Disadvantages Illegal and Legal uses.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Peer-to-Peer (or P2P) From user to user. Peer-to-peer implies that either side can initiate a session and has equal responsibility. Corey Chan Andrew Merfeld.
Peer-to-Peer Intro Jani & Sami Peltotalo.
A P2P file distribution system ——BitTorrent Fan Bin Sep,25,2004.
P2P WeeSan Lee
5th Edition, Irv Englander
Introduction to client/server architecture
1CS 6401 Peer-to-Peer Networks Outline Overview Gnutella Structured Overlays BitTorrent.
Jay Sheth P2P Basics Jay Sheth CE, UMBC. Jay Sheth P2P Agenda What is P2P Why P2P Components and algorithms Characteristics Different P2P systems Future.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
The Bittorrent Protocol
P2P File Sharing Systems
Peer-to-Peer Computing CS587x Lecture Department of Computer Science Iowa State University.
Introduction Widespread unstructured P2P network
P EER - TO -P EER N ETWORKS Michael Fine 1. W HAT ARE P EER -T O -P EER N ETWORKS ? Napster Social networking spawned from this concept. Emerged in the.
BitTorrent Presentation by: NANO Surmi Chatterjee Nagakalyani Padakanti Sajitha Iqbal Reetu Sinha Fatemeh Marashi.
Cmpe 494 Peer-to-Peer Computing Anıl Gürsel Didem Unat.
Peer to Peer Network Anas Hardan. What is a Network? What is a Network? A network is a group of computers and other devices (such as printers) that are.
BitTorrent Internet Technologies and Applications.

BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
Forensics Investigation of Peer-to- Peer File Sharing Networks Authors: Marc Liberatore, Robert Erdely, Thomas Kerle, Brian Neil Levine & Clay Shields.
Distributed Systems Concepts and Design Chapter 10: Peer-to-Peer Systems Bruce Hammer, Steve Wallis, Raymond Ho.
1 BitTorrent System Efrat Oune Bar-Ilan What is BitTorrent? BitTorrent is a peer-to-peer file distribution system (built for intensive daily use.
1 P2P Computing. 2 What is P2P? Server-Client model.
Local Area Networks (LAN) are small networks, with a short distance for the cables to run, typically a room, a floor, or a building. - LANs are limited.
Peer-to-Peer Networking. Presentation Introduction Characteristics and Challenges of Peer-to-Peer Peer-to-Peer Applications Classification of Peer-to-Peer.
The application of P2P technology. Team Member: LIU Chang, ZHANG jianing Presentation: LIU Chang.
BitTorrent Dr. Yingwu Zhu. Bittorrent A popular P2P application for file exchange!
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
Peer-to-Peer Networks University of Jordan. Server/Client Model What?
Colin J. MacDougall.  Class of Systems and Applications  “Employ distributed resources to perform a critical function in a decentralized manner”  Distributed.
Bit Torrent A good or a bad?. Common methods of transferring files in the internet: Client-Server Model Peer-to-Peer Network.
PSI Peer Search Infrastructure. Introduction What are P2P Networks? The term "peer-to-peer" refers to a class of systems and applications that employ.
2: Application Layer1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP r.
Peer-to-Peer File Sharing Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Peer-to-Peer Network Tzu-Wei Kuo. Outline What is Peer-to-Peer(P2P)? P2P Architecture Applications Advantages and Weaknesses Security Controversy.
FastTrack Network & Applications (KaZaA & Morpheus)
1 Peer-to-Peer Technologies Seminar by: Kunal Goswami (05IT6006) School of Information Technology Guided by: Prof. C.R.Mandal, School of Information Technology.
ITGS Network Architecture. ITGS Network architecture –The way computers are logically organized on a network, and the role each takes. Client/server network.
ADVANCED COMPUTER NETWORKS Peer-Peer (P2P) Networks 1.
Peer-to-Peer Systems: An Overview Hongyu Li. Outline  Introduction  Characteristics of P2P  Algorithms  P2P Applications  Conclusion.
Peer-to-Peer (P2P) Networks By Bongju Yu. Contents  What is P2P?  Features of P2P systems  P2P Architecture  P2P Protocols  P2P Projects  Reference.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
© 2016 A. Haeberlen, Z. Ives CIS 455/555: Internet and Web Systems 1 University of Pennsylvania Decentralized systems February 15, 2016.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
November 19, 2016 Guide:- Mrs. Kale J. S. Presented By:- Hamand Amol Sambhaji. Hamand Amol Sambhaji. Pardeshi Dhananjay Rajendra. Pardeshi Dhananjay Rajendra.
An example of peer-to-peer application
NGS data transmission, A point view from a user
Introduction to BitTorrent
Comparison of LAN, MAN, WAN
PEER TO PEER BitTorrent.
Distributed computing deals with hardware
The BitTorrent Protocol
Content Distribution Networks + P2P File Sharing
PEER-TO-PEER SYSTEMS.
Client/Server and Peer to Peer
#02 Peer to Peer Networking
Content Distribution Networks + P2P File Sharing
Presentation transcript:

File Sharing Prepared By: Mahmud Gabareen Eyal Biber Itamar Arie Lecturer Iris Reinhartz-Berger

Introduction The term “peer-to-peer” (P2P) refers to a class of systems and applications that employ distributed resources to perform a critical function in a decentralized way. Instead of Internet information being held in a few central locations, Peer-to-Peer computing makes it theoretically possible to access the files and data residing on every personal computer connected to the Internet. P2P Client/Server

Client/Server problems Scalability As the number of users increases, there is a higher demand for computing power, storage space, and bandwidth associated with the server-side. Reliability The whole network will depend on the highly loaded server to function properly. Infrastructure and administration For fast responding time required a large infrastructure with all associated cost and administration.

P2P Advantages In contrast of Client/Server model the increase of users means increase in storage, bandwidth and computing power. No need for a network administrator. Network is fast/inexpensive to setup & maintain. In 2001 Google and Napster had almost the same users and data, Napster had about 100 servers, Google had about servers.

Pure and Hybrid P2P One possible classification of peer-to-peer networks is according to their degree of centralization: Pure peer-to-peer: Peers act as equals, merging the roles of clients and server There is no central server managing the network There is no central router Hybrid peer-to-peer: Has a central server that keeps information on peers and responds to requests for that information. Peers are responsible for hosting available resources, for letting the central server know what resources they want to share, and for making its shareable resources available to peers that request it.

Client/Server Architecture

Pure P2P Architecture

Hybrid P2P Architecture

P2P Terminology Client is informally defined as an entity (node, program, module, etc.) that initiates requests but is not able to serve requests. Server is informally defined as an entity that serves requests from other entities, but does not initiate requests. If the server does initiate requests, then it plays the role of a client. Typically, there are one or a few servers versus many clients.

P2P Terminology Peer A computer program that acts as both a client and a server for the entire P2P network. Free Riding Free-riding means that a peer does not contribute anything to the system, while it attempts to obtain service (or downloading) from other peers.

P2P Applications Should be an implementation of either pure network or hybrid network. Should be able to provide these functions: connect/disconnect to peer/server, manage download and upload. Have necessary entities: Peer, Client, File, Download and Upload. Have an option to configure sittings: configure download and upload bandwidth, saving directory…

BitTorrent Implementation of a hybrid P2P network. Two kinds of peers: Leecher: downloader whose file download is incomplete: Seeder: downloader who whose file download is complete and only uploading data. The BitTorrent protocol breaks down files into a number of much smaller pieces, typically a quarter of a megabyte (256 kB) in size. Use “Tracker”: server that tracks the downloading and uploading processes.

BitTorrent In order to start sharing we must create or open a Torrent file. Torrent file: contains URL of its tracker, names of the files and their lengths. Also contains SHA-1 hash code for each piece. Web page With.torrent link Tracker Seeder Leecher User.torrent Get Announce Peer List Shake Hand Pieces

Emule Hybrid Open source P2P application. Distinguishing features Direct exchange of sources between client nodes. Fast recovery of corrupted downloads. Use of a credit system to reward frequent uploaders. Search. The server can “break” the file in to peaces. The application combine them together in to one file again. each piece of file gets a hash code, to verify the correctness of the pieces.

Ares Ares is a pure P2P, free open source file sharing program. Distinguishing features Direct exchange of sources between client nodes. Fast recovery of corrupted downloads. Search. Ares automatically finds more sources and downloads files from many users at once. (breaking the file and gives a hash code to each peace)

Use Case Bittorent Emule Ares

Use Case P2P DownloaderUploaderSeeder Leecher Peer TrackerServer User

Use Case P2P Start Download / Upload Pause Download / UploadManage Download / Upload Share DirectoryCreate TorrentShare Files Connect to server Connect to TrackerUpdate status Update Server SearchConfigure Settings Control panel

Use Case P2P

Class Diagrames Bittorent Emule Client Peer Download/ Upload Ares Next

Class Diagram - BitTorrent

Class Diagram eMule

Class Diagram Ares

Class Diagram

Applications Models User Client Bittorent Emule Ares Next

Applications Models - BitTorrent

Applications Models Emule Sequence diagram:

Applications Models Ares Sequence diagram:

Domain Models

P2P In The Future P2P algorithms: probably have the biggest chance of making impact. As the world becomes increasingly decentralized and connected, there will be a growing need for P2P algorithms to overcome the scalability, anonymity, and connectivity problems. P2P applications: are the next most likely to succeed in the future, because of the advantages of these applications over the existed model.

ADOM & P2P P2P is a wide domain that it’s hard to put it in a frame, but ADOM help us in defining the main concepts and functions in the domain. ADOM helped us in modeling what is needed in P2P application, and defining the relations between the classes and functions.

Bibliography Dejan S. Milojicic, Vana Kalogeraki, Rajan Lukose, Kiran Nagaraja1, Jim Pruyne, Bruno Richard, Sami Rollins 2,Zhichen Xu. Peer-to-Peer Computing. HP Laboratories Palo Alto Andy Oram. Harnessing the Power of Disruptive Technologies Qin Lv, Pei Cao, Edith Cohen, Kai Li, Scott Shenker. Search and Replication in Unstructured Peer-to-Peer Networks Dongyu Qiu and R. Srikant. Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks Wikipedia. Open P2P.

QUESTIONS???