i ntroduction to taobao cdn
DESCRIPTION
b y guiwuu @linuxfb.org 2010-06-20. i ntroduction to Taobao CDN. 大规模网站会遇到什么问题?. 跨国家,如阿里巴巴的中文站,日文站,英文站。。。 跨 ISP ,如电信,联通,教育网 跨地域,如北京,杭州,云 南. 总 之,让不同国家、不同 ISP 、不同城市的用户,都能以同样的、尽可能快的速度获取最新的、一致的内 容. 网站镜像解决方案. 在需要加速的网络设置镜像服务器,并为其设置不同的域名,一般在网站显著位置(如首页)提供链接. 缺点:. 用 户不透明,需要用户显示地点击不同的链接 - PowerPoint PPT PresentationTRANSCRIPT
![Page 2: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/2.jpg)
大规模网站会遇到什么问题?»跨国家,如阿里巴巴的中文站,日文站,英文站。。。»跨 ISP,如电信,联通,教育网»跨地域,如北京,杭州,云南
总之,让不同国家、不同 ISP、不同城市的用户,都能以同样的、尽可能快的速度获取最新的、一致的内容
![Page 3: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/3.jpg)
网站镜像解决方案在需要加速的网络设置镜像服务器,并为其设置不同的域名,一般在网站显著位置(如首页)提供链接
»用户不透明,需要用户显示地点击不同的链接»同步困难,镜像同步周期长,不灵活»可用性差,某个镜像宕机时,导致其访问失败»规模较小,建立维护镜像成本高,需专人维护
缺点:
![Page 4: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/4.jpg)
CDN是什么?»内容分发网络, Content Delivery(Distribution) Network»1998年由MIT一批研究生提出并设计实现了 CDN系统»2000年基于该系统诞生了首款商用 CDN——AKAIMA»CDN是构筑在现有的 Internet上的动态流量分配网络»CDN目的是使用户可以就“近”取得所需的内容»CDN的内容包括,网页、流媒体、应用、传输»简而言之, CDN就是用户和 ICP之间的 cache
![Page 5: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/5.jpg)
CDN带来的好处»本地加速,利用本地 cache,提高静态资源访问速度»远程加速,智能选择远程 cache,负载均衡,服务分流»镜像服务,消除跨 ISP互联瓶颈,实现跨 ISP加速»带宽优化,均衡全网流量,节约各级节点流量»集群抗攻击,智能冗余,提高抵御黑客攻击能力
![Page 6: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/6.jpg)
CDN的核心技术
全球负载均衡技术(GLSB)
主动 (push)和被动 (pull)分发
NFS、DFS、 SSD、Memory等
多属性内容监控机制
内容路由内容分发内容存储内容管理
DNS/应用层 /传输层的重定向VPN、 ESI、LSB
高速缓存服务器和高速镜像服务器内容、索引、访问状态信息搜集
![Page 7: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/7.jpg)
使用 CDN之前浏览器 本地 DNS ICP
ICP域名
ICP的 IP
HTTP请求
HTTP响应
授权 DNS
ICP域名ICP的 IP
![Page 8: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/8.jpg)
使用 CDN之后浏览器 本地 DNS ICP
HTTP请求
GLBS CS
ICP域名
CS的 IP
GLBS的 CNAME
HTTP请求HTTP响应
HTTP响应
授权 DNS
CS的 IP
ICP域名
ICP域名
![Page 9: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/9.jpg)
![Page 10: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/10.jpg)
![Page 11: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/11.jpg)
![Page 12: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/12.jpg)
![Page 13: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/13.jpg)
![Page 14: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/14.jpg)
![Page 15: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/15.jpg)
![Page 16: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/16.jpg)
![Page 17: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/17.jpg)
![Page 18: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/18.jpg)
![Page 19: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/19.jpg)
![Page 20: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/20.jpg)
![Page 21: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/21.jpg)
![Page 22: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/22.jpg)
![Page 23: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/23.jpg)
![Page 24: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/24.jpg)
![Page 25: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/25.jpg)
![Page 26: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/26.jpg)
参考资料»CDN百度百科,
http://baike.baidu.com/view/21895.html?wtp=tt»CDN技术介绍,
http://rdc.taobao.com/blog/cs/?p=106»CDN网络说明,
http://blog.csdn.net/leekwen/archive/2009/02/04/3862119.aspx»浅谈 CDN应用及发展,
http://wenku.baidu.com/view/c116ba1614791711cc791701.html»淘宝图片存储与 CDN系统,
http://wenku.baidu.com/view/a561852acfc789eb172dc864.html
![Page 27: i ntroduction to Taobao CDN](https://reader034.vdocuments.site/reader034/viewer/2022050704/568148b8550346895db5d01a/html5/thumbnails/27.jpg)
What’s Your Message?THX!