p2p peer to peer introduction

38
SEMINAR ON P2P (NAPSTER) - BY Venkatesh 14 th July 2008

Upload: venkatesh-munirathinam

Post on 13-Jan-2015

4.540 views

Category:

Technology


3 download

DESCRIPTION

Gives the concept of p2p and discusses the difference between the centralized and distributed concepts of the p2p

TRANSCRIPT

Page 1: P2p Peer To Peer Introduction

SEMINAR ON P2P (NAPSTER) - BY Venkatesh

14th July 2008

Page 2: P2p Peer To Peer Introduction

www.freenapster.com

NAPSTER 4.0

Page 3: P2p Peer To Peer Introduction

P2P(PEER to PEER) Technology P2P is a Networking Software where clients communicate with each other rather than go through a server

The most common way of linking computers so they can share data or processing power is via client-server architecture. Servers store data and applications that PCs can access.

A different way to achieve data and application sharing is by allowing PCs to connect directly with each other and act as both clients and servers. This is the basis of Peer-to-Peer computing.

A number of years ago applications that allow these direct connections were developed for use in office environments with a small number of PCs. Programs such as AppleTalk Network and Windows for Workgroups are early examples of this technology known as Peer-to-Peer (P2P).

Page 4: P2p Peer To Peer Introduction

P2P continued………

Recent developments have made it possible to expand P2P technology to computers connected to the Internet as well as those connected through a network.

P2P programs fall into two major categories:

(i) centralized (ii) decentralized.

Centralized SystemIn a centralized system a server maintains

directories of what is stored in each peer computer. The central server directs the connections between peers. Thus, while the connection is made directly from peer to peer, a server is still necessary

Page 5: P2p Peer To Peer Introduction

Server

User

User

UserUser

User

UserUser

User

Search Request

Search Response

Download

Centralized Model

Page 6: P2p Peer To Peer Introduction

P2P continued……

Decentralized System With a decentralized program each peer connect directly to other peers without being directed by a server. These connections are repeated making the resulting network, in theory, infinitely large. In reality this size of a network is constrained by the number of layers of computers a message has to travel through.

Page 7: P2p Peer To Peer Introduction

Search Request Search RelaySearch ResponseDownload

User

User

User

User

User

User

User

User

User

User

Decentralized Model

Page 8: P2p Peer To Peer Introduction
Page 9: P2p Peer To Peer Introduction

History of Napster

Two college students, 19-year-old Shawn Fanning and 20-year-old Sean Parker founded Napster in late 1999.

They originally just wanted to trade music over the Internet with their friends, but their P2P network has since grown to a user group of over twenty million.

The Napster phenomenon has increased interest in peer-to-peer networks to a fever pitch.

Boston Students !!

Page 10: P2p Peer To Peer Introduction

Napster continued….Napster is a centralized or server-based P2P network. With a server-based network, there is a central list of information that is accessed by all the users of the system.

Here is what happened when you decided to look for the song: 1.You opened the Napster utility.

2.Napster checked for an Internet connection.

3.If it found a connection, Napster logged you onto the central server. The main purpose of this central server was to keep an index of all the Napster users currently online and connect them to each other. It did not contain any of the MP3 files.

4.You typed in the title or artist of the song you were looking for.

5.The Napster utility on your computer queried the index server for other Napster computers online that had the song you requested.

Page 11: P2p Peer To Peer Introduction

Napster Continued….6.Whenever a match was found, the Napster server informed your computer where to find the requested file.

7.When the server replied, Napster built a list of these systems in the results window.

8.You clicked on the file(s) that interested you and then chose Download.

9.Your copy of Napster attempted to establish a connection with the system hosting the file you selected.

10.If a connection wa successfully made, the file began downloading.

11.Once the file wa downloaded, the host computer broke the connection with your system.

12.You opened up your MP3 player software and listened to the song.

Page 12: P2p Peer To Peer Introduction
Page 13: P2p Peer To Peer Introduction

Comparisons of Centralized and Distributed Model

File is instantly Available in Centralized Model but in Distributed Model it is subjected to Availability

Shutdown of Distributed Model is Impossible but is possible to turn off the Central Server

There is no Bootstrap Problem in Centralized model

Flooding of request packets occur in Distributed Model but not in the case of Centralized Model

Search time is higher in Distributed Model

Page 14: P2p Peer To Peer Introduction
Page 15: P2p Peer To Peer Introduction
Page 16: P2p Peer To Peer Introduction
Page 17: P2p Peer To Peer Introduction

Points to Ponder….P2P is Good or Bad ?

P2P eats up all the Bandwidth, As an Engineer what we are going to do to meet the Bandwidth requirements in the Feature.?

What is the Difference Between SOA and P2P ?

What AI Techniques can be applied to p2p to make it Better in the future ?

Do we have any ideas to stop piracy in the future ?

Page 18: P2p Peer To Peer Introduction

The Hybrid P2P is a combination of the best features of peer-to-peer delivery together with the best features of central server or unicast delivery.

We have taken the security, high quality, and control of unicast technology and combined it with the extreme efficiency of peer-to-peer delivery.

The result is a very secure, high quality, stable, quickly adaptable network that uses up to 98% less bandwidth.

This makes it better than unicast and better than pure peer-to-peer.

It also creates proven higher quality connections.

Hybrid P2P Technology

Page 19: P2p Peer To Peer Introduction
Page 20: P2p Peer To Peer Introduction
Page 21: P2p Peer To Peer Introduction

It’s Hybrid P2P Technology !!!

Page 22: P2p Peer To Peer Introduction

Research on P2P…

Research can be Done on

Architectures

Algorithms

Performance Modeling and Optimization

Distributed Resource Management

Privacy, Security, Trust and Incentives

Applications

Page 23: P2p Peer To Peer Introduction
Page 24: P2p Peer To Peer Introduction

Topology Building of P2P Networks

Game theory Random Routing QoS Routing Updating Routing Table by Sampling

Hybrid Information Retrieval

Ant Colony AlgorithmSemantic P2P Changing Node Join Process

Topology Building of P2P Networks P2P Routing Optimization

Using Detector to update connectivityKey Words Partial Matching Search in DHT Routing Adding New Data Structure in Routing Table to change

searching way

Peer Node

Research clo

ud….

Page 25: P2p Peer To Peer Introduction

News on P2P….

Page 26: P2p Peer To Peer Introduction
Page 27: P2p Peer To Peer Introduction
Page 28: P2p Peer To Peer Introduction

Popular P2P Clients…

Page 29: P2p Peer To Peer Introduction
Page 30: P2p Peer To Peer Introduction
Page 31: P2p Peer To Peer Introduction
Page 32: P2p Peer To Peer Introduction
Page 33: P2p Peer To Peer Introduction

Common Terms Used in P2PPeerA peer is anyone who is downloading or uploading the file

ClientThe software that allows you to download and upload (share) files using Torrent. The Torrent client opens the .torrent file and allows connections from your peers.

TrackerA tracker is a server that keeps track of which seeds and peers are in the swarm. Clients report information to the tracker periodically and in exchange receive information about other clients to which they can connect

SeederA seeder is a peer that has a complete copy of the torrent and still offers it for upload. The more seeders there are, the better the chances are for completion of the file.

LeechA leech is usually a peer who has a negative effect on the swarm by having a very poor share ratio, however it can also refer to any peer without 100% of the data

SwarmTogether, all peers (including seeders) sharing a torrent are called a swarm.

Page 34: P2p Peer To Peer Introduction
Page 35: P2p Peer To Peer Introduction
Page 36: P2p Peer To Peer Introduction

Queries?

Page 37: P2p Peer To Peer Introduction

Mail your Feedback to [email protected]

Page 38: P2p Peer To Peer Introduction

Thank You…