复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)21 Peer-to-Peer(p2p)

Carnegie Mellon Peer-to-Peer 15-441
Peer-to-Peer 15-441

Carnegie Mellon Scaling problem ·Mi| ions of clients→ server and network meltdown 鸟血堂血
2 Scaling Problem • Millions of clients ⇒ server and network meltdown

Carnegie Mellon P2P System Leverage the resources of client machines(peers) Computation storage bandwidth
3 P2P System • Leverage the resources of client machines (peers) – Computation, storage, bandwidth

Carnegie Mellon Why p2p? Scaling: Create system whose capacity grows with of clients-automatically Self-managing This aspect attractive for corporate/datacenter needs e.g., Amazons 100,000-ish machines, google's 300k+ Harness lots of"spare" capacity at end-hosts Eliminate centralization Robust to failures etc Robust to censorship, politics legislation?? Create apps/services without having huge resources
4 Why p2p? • Scaling: Create system whose capacity grows with # of clients - automatically! • Self-managing – This aspect attractive for corporate/datacenter needs – e.g., Amazon’s 100,000-ish machines, google’s 300k+ • Harness lots of “spare” capacity at end-hosts • Eliminate centralization – Robust to failures, etc. – Robust to censorship, politics & legislation?? – Create apps/services without having huge resources

Carnegie Mellon Today's Goal p2p is hot There are tons and tons of instances But that's not the point Identify fundamental techniques useful in p2p settings Understand the challenges Look at the(current )boundaries of where 2p is particularly useful
5 Today’s Goal • p2p is hot. • There are tons and tons of instances • But that’s not the point • Identify fundamental techniques useful in p2p settings • Understand the challenges • Look at the (current!) boundaries of where 2p is particularly useful 5

Carnegie Mellon Outline p2p file sharing techniques Downloading: Whole-file vs chunks Searching Centralized index(Napster, etc. Flooding(Gnutella, etc. Smarter flooding( KazaA,. Routing(Freenet, etc. Uses of p2p-what works well, what doesnt? servers vs arbitrary nodes Hard state(backups! )vs soft-state(caches) Challenges Fairness, freeloading, security
6 Outline • p2p file sharing techniques – Downloading: Whole-file vs. chunks – Searching • Centralized index (Napster, etc.) • Flooding (Gnutella, etc.) • Smarter flooding (KaZaA, …) • Routing (Freenet, etc.) • Uses of p2p - what works well, what doesn’t? – servers vs. arbitrary nodes – Hard state (backups!) vs soft-state (caches) • Challenges – Fairness, freeloading, security, …

Carnegie Mellon Searching& Fetching Human I want to watch that great 80s cult classic Better off dead 1. Search “ better o斤 dead”-> better off dead.mov or ->0x539fba83ajdeadbeef 2. Locate sources of better off dead moy 3. Download the file from them
7 Searching & Fetching Human: “I want to watch that great 80s cult classic ‘Better Off Dead’” 1.Search: “better off dead” -> better_off_dead.mov or -> 0x539fba83ajdeadbeef 2.Locate sources of better_off_dead.mov 3.Download the file from them 7

Carnegie Mellon Searching 2 Key="title Internet Value=MP3 data Client Publisher Lookup( title") 6 5
8 Searching Internet N1 N2 N3 N6 N5 N4 Publisher Key= “title” Value=MP3 data… Client Lookup(“title”) ?

Carnegie Mellon Search Approaches · Centralized Flooding "Supernodes" ng between ° A hybrid:F|ood Structured
9 Search Approaches • Centralized • Flooding • A hybrid: Flooding between “Supernodes” • Structured 9

Carnegie Mellon Different types of searches Needles VS HaystackS Searching for top 40, or an obscure punk track from 1981 that nobody,'s heard of? Search expressiveness Whole word? Reqular expressions? File names? Attributes? Whole-text search? (e.g., p2p gnutella or p2p google?)
1 0 Different types of searches • Needles vs. Haystacks – Searching for top 40, or an obscure punk track from 1981 that nobody’s heard of? • Search expressiveness – Whole word? Regular expressions? File names? Attributes? Whole-text search? • (e.g., p2p gnutella or p2p google?)
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)20 The Web.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)19 TCP Performance.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)18 tcpdetails_More TCP & Congestion.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)17 TCP & Congestion Control.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)16 Transport Protocols.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)15 Virtual Circuits, ATM, MPLS.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)14 ip-grab-bag(IP Wrap up).ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)13 DNS.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)12 Inter-Domain Routing BGP(Border Gateway Protocol).ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)11 Multicast.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)10 Intra-Domain Routing.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)09 IP Packets.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)08 Software School.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)07 Ethernet.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)06 Physical Layer(Cont)& Data Link Layer.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)05 physical_Transmission.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)04 Socket Programming.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)03 Design Philosophy & Applications.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)02 Protocol Stacks and Layering.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)01 Introduction.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)22 Queue Management and QoS.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)23 mobile_Wireless Networking.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)25 Secure Communication with an Insecure Internet Infrastructure.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)25 security-dosfirewall——Attacks and Countermeasures.ppt
- 复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)26 Wireless, Ad-Hoc Networks, Sensor Networks.ppt
- 复旦大学:《计算机网络》课程PPT课件_10 IP-Prot——Routers and Routing.pdf
- 《数据库系统》参考书籍:《Database Management Systems》2nd Ed(Raghu Ramakrishnan / Johannes Gehrke).pdf
- 《数据库系统》课程参考资料:DB2系统管理员指南 IBM DB2 Version 8 Administrator Guide(1/3)Planning.pdf
- 《数据库系统》课程参考资料:DB2系统管理员指南 IBM DB2 Version 8 Administrator Guide(2/3)Implementation.pdf
- 《数据库系统》课程参考资料:DB2 SQL指南 IBM DB2 Universal Database SQL Reference Volume 1 Version 8(1/2).pdf
- 《数据库系统》课程参考资料:DB2系统管理员指南 IBM DB2 Version 8 Administrator Guide(3/3)Performance.pdf
- 《数据库系统》课程参考资料:DB2 SQL指南 IBM DB2 Universal Database SQL Reference Volume 2 Version 8(2/2).pdf
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_1.奚亚蓉——电信局程控机房维护管理信息系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_2.吴小莉——检测管理信息系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_3.周瑾——图书借阅管理系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_4.邓彦——上药三厂科技图书信息管理系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_5.蒋君伟——医院管理信息系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_6.缪晶——进销存管理系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_7.王菻华——进口货代管理信息系统.doc
- 复旦大学:《数据库系统》学生数据库设计(MIS)论文_8.孙建英——库存管理信息系统.doc