P2P Tutorial(PPT讲稿)

P2P Tutorial Concept: Advantages: Why and What P2P OHistory:Structural evolution Status: From Academy to Industry Future: How to Build a Practical P2P system Guihai Chen
Concept HIstory Status Future 1 P2P Tutorial Future:How to Build a Practical P2P system Status: From Academy to Industry History:Structural evolution Concept:Advantages: Why and What P 2 P Guihai Chen

Client/Server Model is Being Challenged No single server or search engine can sufficiently cover increasing Web contents 2×1018Byes′ year generated in Internet But only 3x1012 Bytes/year available to public (0.00015%) Google only searches1.3×10° Web pages Source: IEEE Internet Computing, 2001) Concept HIstory Status Future
Concept HIstory Status Future 2 Client/Server Model is Being Challenged No single server or search engine can sufficiently cover increasing Web contents. 21018 Bytes/year generated in Internet. But only 31012 Bytes/year available to public (0.00015%). Google only searches 1.3108 Web pages. (Source: IEEE Internet Computing, 2001) Concept

Things getting worse in Big data era Kilo Mega Giga Tera Peta Exa 2001:2×1018=2 EXa Bytes Zeta 2011: 1.8ZB=1800 EXa Bytes, filling up 575x 108 32GB iPad Use iPad as bricks, we can build 2 great walls of china Yotta 2020: 40ZB, enough to build 45 great walls Concept HIstory Status Future
Concept HIstory Status Future 3 Kilo Mega Giga Tera Peta Exa Zeta Yotta 2001: 21018 =2 Exa Bytes 2011: 1.8ZB=1800 Exa Bytes,filling up 575x 108 32GB iPad. Use iPad as bricks, we can build 2 great walls of china. 2020: 40ZB,enough to build 45 great walls. Things getting worse in Big Data Era Concept

Client/server model has problems Client/server model seriously limits utilization of available bandwidth and service Popular servers and search engines become traffic bottlenecks But high speed networks connecting many clients become idle Computing cycles and information in clients are ignored Concept HIstory Status Future
Concept HIstory Status Future 4 Client/Server Model Has Problems Client/server model seriously limits utilization of available bandwidth and service. Popular servers and search engines become traffic bottlenecks. But high speed networks connecting many clients become idle. Computing cycles and information in clients are ignored. Concept

Socket Programming in Client/Server Model Two types of server Concurrent server-forks a new process,so multiple clients can be handled at the same time Iterative server-the server processes one request before accepting the next Concept HIstory Status Future
Concept HIstory Status Future 5 Two types of server ▪ Concurrent server – forks a new process, so multiple clients can be handled at the same time. ▪ Iterative server – the server processes one request before accepting the next. Socket Programming in Client/Server Model Concept

Socket Programming in Client/Server Model Two types of server Concurrent server-forks a new process,so multiple clients can be handled at the same time Iterative server-the server processes one request before accepting the next Concept HIstory Status Future
Concept HIstory Status Future 6 Two types of server ▪ Concurrent server – forks a new process, so multiple clients can be handled at the same time. ▪ Iterative server – the server processes one request before accepting the next. Socket Programming in Client/Server Model Concept

Socket Programming in Client/Server Model listened socket(.) bind( (listened,…); listen( listened,… for(:: i Concurrent connfd accept(listened, .. Server If (( pid= forko)==0i/child*/ close(listened) process the e request * close(conned) exit(O) close(connfd);/* parent* Concept HIstory Status Future 7
Concept HIstory Status Future 7 Concurrent Server listenfd = socket(…); bind(listenfd,…); listen(listenfd,…) for ( ; ; ) { connfd = accept(listenfd, …); If (( pid = fork()) == 0) { /* child*/ close(listenfd); /* process the request */ close(connfd); exit(0); } close(connfd); /* parent*/ } Socket Programming in Client/Server Model Concept

Socket Programming in Client/Server Model listened socket(.) bind( (listened,…) Iterative iten( listened,… Server for(;; conned = accept(listened process the request close(conned) Concept HIstory Status Future
Concept HIstory Status Future 8 Iterative Server listenfd = socket(…); bind(listenfd,…); listen(listenfd,…) for ( ; ; ) { connfd = accept(listenfd, …); /* process the request */ close(connfd); } Socket Programming in Client/Server Model Concept

Socket Programming in Client/Server Model sockfd= socket( connect(sockfd, .. Client / process the request * close(sockfd) Concept HIstory Status Future 9
Concept HIstory Status Future 9 Client sockfd = socket(…); connect(sockfd, …) /* process the request */ close(sockfd); Socket Programming in Client/Server Model Concept

Content Delivery Networks(CDN): A Transition Model Servers are decentralized(duplicated throughout the Internet The distributed servers are controlled by a centralized authority(headquarters) EXamples: Internet content distributions by Akamai Overcast. and ffnet Both Client/Server and cdn models have single point of failures Concept HIstory Status Future
Concept HIstory Status Future 10 Content Delivery Networks (CDN): A Transition Model Servers are decentralized (duplicated) throughout the Internet. The distributed servers are controlled by a centralized authority (headquarters). Examples: Internet content distributions by Akamai, Overcast, and FFnet. Both Client/Server and CDN models have single point of failures. Concept
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 北京大学:网络信息体系结构(PPT讲稿)Web-based Information Architecture.ppt
- 信息和通信技术ICT(PPT讲稿)浅谈信息技术和低碳经济(中国科学技术大学:王煦法).ppt
- 山东大学:《微机原理及单片机接口技术》课程教学资源(PPT课件讲稿)第八章 数据通信.ppt
- 《人工智能技术导论》课程教学资源(PPT课件讲稿)第1章 人工智能概述.ppt
- 河南中医药大学(河南中医学院):《计算机文化》课程教学资源(PPT课件讲稿)第四章 计算机软件系统(主讲:许成刚、阮晓龙).ppt
- 清华大学:A Pivotal Prefix Based Filtering Algorithm for String Similarity Search(PPT讲稿).pptx
- 《数据结构》课程教学资源(PPT课件讲稿)第十章 内部排序.ppt
- 《C语言教程》课程教学资源(PPT课件讲稿)第三章 C语言程序设计初步.ppt
- 电子科技大学:《计算机操作系统》课程教学资源(PPT课件讲稿)第三章 存储管理 Memory Management.ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)RISC-V指令集及简单实现.pptx
- 《信息安全工程》课程教学资源(PPT课件讲稿)第3章 密码学基础.ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)敏捷软件开发 Agile Software Development.ppt
- 《计算机应用基础》课程教学资源(PPT课件讲稿)第5章 文件文档工具.ppt
- 西安电子科技大学:《操作系统 Operating Systems》课程教学资源(PPT课件讲稿)Chapter 05 输入输出 Input/Output.ppt
- 《人工智能》课程教学资源(PPT课件讲稿)Ch10 Auto-encoders(Auto and variational encoders v.9r6).pptx
- 《ARM Cortex-M3权威指南》课程教学资源(PPT课件讲稿)Cortex M3 存储系统访问.pptx
- 北京师范大学现代远程教育:《计算机应用基础》课程教学资源(PPT课件讲稿)第四篇 数据处理与数据分析.ppsx
- 《数字图像处理》课程教学资源(PPT课件讲稿)第八章 形态学处理.ppt
- 《计算机网络技术及应用》课程教学资源(PPT课件讲稿)第十一章 网络安全.ppt
- 《人工智能》课程教学资源(PPT课件讲稿)第13章 智能优化计算简介.ppt
- 微软分布式计算技术(PPT讲稿)Dryad and DryadLINQ.ppt
- 《数字图像处理》课程教学资源(PPT课件)第6章 图像复原.ppt
- 电子工业出版社:《计算机网络》课程教学资源(第五版,PPT课件讲稿)第三章 数据链路层.ppt
- 《单片机应用技术》课程PPT教学课件(C语言版)第8章 MCS-51单片机串行通信接口.ppt
- 操作系统原理(PPT讲稿)Windows OS Principles(Windows XP).pps
- 淮阴工学院:《数据库原理》课程教学资源(PPT课件讲稿)第1章 数据库概论(主讲:冯万利).pps
- 《微型计算机接口技术》课程教学资源(PPT课件讲稿)第2章 16位和32位微处理器.ppt
- 《程序设计》课程教学资源(PPT课件讲稿)第五章 函数式程序设计语言.ppt
- 链路状态路由协议(PPT讲稿)LINK STATE ROUTING PROTOCOLS.pptx
- 厦门大学:《大数据技术原理与应用》课程教学资源(PPT课件讲稿,2016)第5章 NoSQL数据库.ppt
- 北京师范大学:《多媒体技术与网页制作》课程教学资源(PPT课件)课程总复习(主讲:赵国庆).ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第一章 绪论 Data Structure.ppt
- 微软应用软件架构设计指南2.0 Application Architecture Guide 2.0 Designing Application on the .NET Platform.ppt
- 软件建模与UML(PPT讲稿).ppt
- 长春大学:《大学计算机基础》课程电子教案(PPT教学课件)第4章 电子表格软件(Excel2003).ppt
- 东北大学:《可信计算基础》课程教学资源(PPT课件讲稿)第6讲 可信计算基础.pptx
- 上海立信会计金融学院:《机器学习与金融应用实践 Machine Study and Financial Practice》课程教学资源(教学大纲).pdf
- 香港科技大学:Overview of the Internet of Things(IoTs).ppsx
- 《微机原理与接口技术》课程教学资源(PPT课件讲稿)第2章 AT89S52单片机硬件结构.ppt
- 《计算机网络》教程资源(PPT课件讲稿)第13章 IPv6协议.ppt