网站大量收购独家精品文档,联系QQ:2885784924

第十三章 交通大学计算机中心陈昌盛E-mailcschen@cc.nctu.edu.tw.ppt

第十三章 交通大学计算机中心陈昌盛E-mailcschen@cc.nctu.edu.tw.ppt

  1. 1、本文档共73页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Web Caching - 基礎篇 什麼是 web caching ? 什麼是 browser caching 什麼是 proxy caching ? Transparent Proxy http accelerator vs proxy/caching accelerator : 加快 remote 取 local 資料 caching : 加快 local 取 remote 資料 Redirector 改寫 URL, 管制連線對象 Web caching server 運作基本觀念 Web caching 的基本運作原理 hit: 文件檔在 cache 中 miss: 文件檔不在 cache 中 refresh_hit, refresh_miss positive caching vs negative caching Web caching 相關protocol 的運作 TCP connection 的使用時機 browsers/cache 到另一個 web server 或 cache 取回資料 UDP connection 的使用時機 某一 cache server 用以, 查詢其他的 neighbor cache , 有無一筆該站想要的資訊 ICP query ( index 資料) Proxy Cache Metric (參考數字) From IRCACHE project Hit ratio (25% - 30%) byte hit ratio ( 20%, 通常低於前一項) / NCTU Proxy network Hit ratio ( 30%-35%) byte hit ratio ( 60%-70%) .tw/ .tw/moecc/index.htm ( 選文宣刊物) 全球 Proxy Cache 網路架構 美國 NLANR 的 IRCACHE 網路 其他各地, 可以從上面網頁連上 臺灣地區 proxy cache 網路 .tw/cache/index.html Squid Cache Hierarchy Parent/child cache parent 靠近網路骨幹 , child 在較偏遠端 parent 替 child 解決 cache miss siblings ( 同一層 -- 原意, 兄弟姐妹) siblings 相互支援 ( loading 分攤 ) 有一套固定的運作方式 (下一頁) Squid Cache Resolution Algorithm Send ICP queries to all appropriate siblings Wait for all replies to arrive with a configurable timeout (the default is two seconds). Begin fetching the object upon receipt of the first HIT reply, or Fetch the object from the first parent which replied with MISS (subject to weighting values), or Fetch the object from the source What is Squid ? (1) Squid 從美國的 Harvest 計劃而來(ARPA 支援). Squid 是一個高效能的 proxy caching server 系統軟體 supporting FTP, gopher, and HTTP data objects Squid handles all requests in a single, non-blocking, I/O-driven process. What is Squid ? (2) Squid supports SSL, extensive access controls, and full request logging. 使用 ICP 通信協定 ( Internet Cache Protocol) squid caches 可以安排成階層式(hierarchy) 或 網狀(mesh)的網路 . What is Squid ? (3) Squid keeps meta data and especially hot objects cached in RAM caches DNS lookups, supports non-blocking DNS lookups, and implements negative caching of failed requests. NCTU Pr

文档评论(0)

kehan123 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档