Professional Documents
Culture Documents
Computing
Peer-to-Peer Network
Reading Assignment
Peer-to-Peer Systems
❏ Centralized Database
❏ Napster
❏ Query Flooding
❏ Gnutella
❏ Swarming
❏ BitTorrent
2
Peer-to-Peer Systems - The Lookup Problem
3
Peer-to-Peer Systems
❏ Common Primitives:
❏ Join: how to I begin participating?
4
P2P: Napster
❏ In 1999, S. Fanning launches Napster
❏ Peaked at 1.5 million simultaneous users
❏ Jul 2001, Napster shuts down
❏ At peak, several million users were registered and swapping files
❏ Napster architecture includes centralized indexes
❏ User supplied files from personal computer
❏ Issues - Copyright infringement - Automated way to illegally copy
copyrighted material
❏ Napster was banned in 2001
5
P2P: Napster
6
P2P: Napster
7
Gnutella - First Generation P2P System
❏ No central server
❏ Gnutella software on your machine
❏ Need to know at least one server on network
❏ Query distributed among all the peers
❏ TTL limit placed on query
8
Gnutella
❏ Query Flooding:
❏ Join: on startup, client contacts a few other nodes; these become its
“neighbors”
❏ Publish: no need
❏ Search: ask neighbors, who ask their neighbors, and so on... when/if
found, reply to sender.
❏ Fetch: get the file directly from peer
9
Gnutella
10
Gnutella
12
Gnutella
13
Gnutella - Packet HEADER
14
Gnutella
❏ disadvantages
❏ No guarantee of file
availability
❏ Your machine is a part of
15
Answer the following
❏ To disrupt Napster, simply block the server sites. How can we disrupt
the Gnutella network?
16
KaZaA
❏ Bit-torrent
20