计算机网络系列(8)之应用场景Web acceleration
来源:互联网 发布:呱呱漫画下载软件 编辑:程序博客网 时间:2024/06/03 10:33
1. Web acceleration
Web acceleration is to speed up web access: fast processing + fast I/O + fast communication.
1.1. Local caching
The local browser gets a web page from a remote web server and store a copy in the local cache.
1.2. Web caching
In web caching, cached web page is shared by multiple users, so web caching is more effective for sharing. e.g., Proxy.
1.3. Prefetching
Prefetch several or all links of current web page.
1.4. HTTP compression
Many web documents contain ASCII texts which can be significantly compressed.
2. Questions
Q1: Consider proxy for web caching
case1: If a proxy is not fast enough, what is the consequence?
The proxy will be a bottleneck, resulting in slower access.
case2: How would you set up a fast proxy?
Network speed.
CPU speed.
I/O speed.
Q2: Discuss whether prefetching is an effective web acceleration method?
It is a selfish method. Not good for all users, but good for individual.
Q3: A browser sends an HTTP request to a web server where this request carries the following information:
- The browser uses HTTP 1.1. to request a file with pathname /IT_baby.html
- The web server is www.abc.com
- The browser supports HTTP compression and gzip.
The web sender sends an HTTP reply to the browser where this reply carries the following information:
- The sever uses HTTP 1.1 to provide the requested file to the browser.
- The server uses gzip to compress the requested file.
- The compressed file consists of 3000 bytes.
Draw a diagram to show the sequence of message exchanges and the content of these messages.
2. 总结
重点1:网络服务器的加速,主要有四个途径,分别问local PC的caching,web server的caching, 文件预取,以及压缩。
- 计算机网络系列(8)之应用场景Web acceleration
- 计算机网络系列(9)之应用场景Large web server systems
- 计算机网络系列(7)之应用场景Search engine
- 计算机网络系列(11)之应用场景Virtual Private Networks
- 计算机网络系列(12)之应用场景Server rooms
- 计算机网络系列(10)之应用场景Peer-to-peer systems
- 计算机网络系列(4)之应用层SubNet and DHCP
- 计算机网络系列(6)之应用层HTTP
- Zookeeper系列(三十)Zookeeper场景应用之配置管理中心
- Zookeeper系列(三十二)Zookeeper场景应用之分布式队列
- 计算机网络16--Web应用
- 计算机网络系列(5)之应用层Domain Name System (DNS)
- 计算机网络系列(1)之简介Introduction
- web services 应用场景
- 《计算机网络》之应用层
- 计算机网络之应用层
- 计算机网络之应用层
- 计算机网络之应用层
- 粒子物理前传:使用Spark统计能谱数据
- Java 找不到或无法加载主类
- 对文本内容进行关键词过滤
- python学习—Day37—redis的hash类型及其他常用类型
- 变量作用域-python
- 计算机网络系列(8)之应用场景Web acceleration
- Spring MVC 06火推
- spark流式读取hdfs中数据
- 米家有品网页
- java作业
- Set headers for scrapy shell request
- Linux之Redhat中火墙的高级配置------firewalld和iptables
- JavaScript--函数的直接调用和事件调用
- 形参和实参的区别