Peer-to-Peer Flashcards
How do P2P networks deal with scability?
As the number of peers increases, so does the computational power, memory and bandwidth.
What are the challenges of P2P networks?
Distribution of data
Failure handling
Access to distributed data
What is churn?
Independent arrival and departure of thousands or millions of peers.
What lessons were learned from Napster?
Pure P2P infeasible.
Server-based indexing causes bottlenecks.
Specific file feature makes design simpler (music files immutable).
How does BitTorrent work?
Files split into chunks, peers can download different chunks of files from different peers in parallel.
The more a peer uploads, the more favourably they are looked upon.
If a peer doesn’t upload enough chunks, it is choked from the network.
What is a seeder and leecher?
Seeder: A peer with all the chunks of a file.
Leecher: A peer with some of the chunks of a file.
How is BitTorrent decentralised?
Each peer can act as a tracker for a file.
Peers arranged in a ring, stored a Distributed Hash Table.
DHT lets peers find which peers are trackers for files.