P2P Flashcards
How does BitTorrent work?
divides files into 256kb chunks
define tracker
tracks peers participating in torrent
define torrent
groups of peers exchanging chunks of a file
define churn
the idea that peers come and go
How does requesting chunks work in BitTorrent?
user downloading file request chunks from all other peers in torrent, acquires rarest chunks first
How does sending chunks work in BitTorrent?
Tit for tat system:
user sends chunks to those four peers currently sending them chunks at highest rate
• other peers are choked by user (do not receive chunks from them)
• re-evaluate top 4 every 10 secs
every 30 secs: randomly select another peer, starts sending chunks
• “optimistically unchoke” this peer
• newly chosen peer may join top 4