P2P目的:解决伸缩性/鲁棒性问题,分享个人clients的资源(storage and bandwidth)
P2P systems
- Games:Xbox
- File Sharing:BitTorrent
- Streaming:Octoshape,Adobe 10.1 later,PPLive
Application-level, client-server protocol over TCP A centralized index system that maps files (songs) to machines that are alive and with files Steps: ◼ Connect to Napster server ◼ Upload your list of files (push) to server ◼ Give server keywords to search the full list ◼ Select “best” of hosts with answers
Overview
Extreme:
- Routing tables large O(N),Lookups fast O(1)
- Or Routing tables small O(1),Lookups slow O(N)
洪流(Torrent):参与一个特定文件分发的所有对等方的集合
最稀缺优先/疏通(种子站)










