当前位置:网站首页>[network planning] 2.2.4 Web cache / proxy server
[network planning] 2.2.4 Web cache / proxy server
2022-06-11 00:27:00 【ChuHao H】

This article is based on 《 computer network —— top-down approach 》 A Book
Web cache / proxy server
Web Buffer Also known as proxy server He is able to represent the source Web Server to meet HTTP Requested network entity . The proxy server has its own disk storage space , And save a copy of the recently requested object in storage .
You can configure a proxy server for your browser , When the browser accesses the website , It will first look for the requested object in its proxy server . If so, the object will be returned directly from the proxy server ; without , The proxy server will open a connection to the original server of the object TCP Connect , And ask the source server for the object that does not exist , When the proxy server receives the response message , The proxy server will store a copy in the local space , And then send the object to the request source .
There are two reasons to deploy a proxy server :
- Proxy server can greatly reduce the response time to customer requirements . For example, we can download directly Github The content on will be slow , If the proxy server of Tsinghua University is configured , Download much faster . The reason is simple , We are directly connected to Github The physical distance and network distance of overseas servers are longer than those connected to Tsinghua University , Therefore, it is better to obtain a copy from the proxy server of Tsinghua University than to connect directly Github Server downloads are much faster . Even if there is no copy of this object on the proxy server of Tsinghua University , The proxy server can also quickly request from the server through the high-speed link between the servers Github Download the corresponding object from the server .
- The proxy server can also reduce the traffic to the source server . hypothesis 《 Interstellar through 》 Only Guangzhou has the film source , All the people in Guangdong will go to Guangzhou to see 《 Interstellar through 》, It is bound to be overcrowded , By distributing copies of the film to prefecture level cities , Then people can go to prefecture level cities to watch movies , Instead of going directly to Guangzhou to see . The same goes for proxy servers . Allocate requests from the source server by building multiple proxy servers , It can reduce the traffic of accessing the source server .
边栏推荐
- Word删除页眉横线的方法
- CSDN daily practice - find the closest element and output the subscript
- [database] types of NoSQL database
- [database] MySQL index interview questions
- Bluetooth development (11) -- ble interacts happily
- Multipass Chinese document - instructions for use (contents page)
- From the perspective of Confucius Temple IP crossover, we can see how the six walnuts become "butterflies" for the second time
- [JVM] class loading mechanism
- 第一章 总论-会计基础
- 【JVM】垃圾回收机制
猜你喜欢

MP framework basic operation (self use)

VTK example -- three intersecting planes

MP框架基本操作(自用)

Bluetooth development (11) -- ble interacts happily
![[pyGame collection] memory killing -](/img/97/10a4333662b49ac35e5b7433a5e6a4.png)
[pyGame collection] memory killing - "Childhood Games", how many shots did you get? (attach five source codes for self access)

Njupt Nanyou Discrete Mathematics_ Experiment 3

JVM 垃圾回收机制和常见的垃圾回收器

Unity custom folder icon color personalized unity compiler
![[no title] 4555](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[no title] 4555

圖的最短路徑問題 詳細分解版
随机推荐
teterttet
array_ column() expects parameter 1 to be array, array given
【Go语言学习】——并发编程
CSDN daily practice -- half search of ordered table
LeetCode 1673. Find the most competitive subsequence**
Docking request mode
学习笔记:插件化Activity之Hook点位
[no title] 4555
基于华为云ECS的目标检测与识别的昇腾AI开发体验【华为云至简致远】
Safety training management measures
C language file operation
Canvas drawing line break
SQL statement -- enter the month, query the date (month, year, day), and output the month
MP框架基本操作(自用)
Excel cell
Multipass中文文档-概览
How to handle file cache and session?
Static method static learning
【JVM】内存模型
富文本活动测试1