当前位置:网站首页>Understanding of forward proxy and reverse proxy
Understanding of forward proxy and reverse proxy
2022-07-25 22:46:00 【ima_ zhan】
Both forward proxy and reverse proxy are client access proxy servers , Then access the real services through the proxy server , But there is a fundamental difference between forward proxy and reverse proxy , as follows :
1、 Reverse proxy
When using reverse proxy , What the user actually accesses is the reverse proxy server to a port , Then the reverse proxy forwards the request of this port to one or more subsequent services , The specific changes are determined by the setting of one or more reverse proxy servers ( Generally based on weight 、 Source IP Select the final forwarding service address ).
It can be seen that , When using reverse proxy , The client cannot decide the final service address , For him, , The agent is the final address he visits .
The role of reverse proxy is to solve the problem of excessive user requests , The server will have a processing limit . So use a reverse proxy server to accept requests , Then load balancing is used to distribute the requests to multiple real servers . It can not only improve efficiency, but also have a certain degree of security .
2、 Forward agency
When using a forward proxy , Set the proxy address on the client as the proxy server address , When the client sends a request, it accesses the address of the final service , Instead of accessing a port of the proxy like the direction proxy . Then the proxy forwards the request to the real service .
It can be seen that , When using a forward proxy , Clients can decide the service address they want to access . But for him, he didn't know that the request was sent to the proxy server , Sending the request to the proxy server is done by other services on the client .

As shown in the figure above , If the intermediate server is deployed to a forward proxy server , that local When the client sends an access request , Actually, it's an access server1、2 perhaps 3, The proxy server address set locally is the address of the intermediate proxy server .
If the intermediate server is deployed to a reverse proxy server , that local When the client sends an access request , Access the proxy server to the address , The proxy server sends the request to server1、2、3 On .
边栏推荐
- Build commercial projects based on ruoyi framework
- 3 词法分析
- LabVIEW develops PCI-1680U dual port can card
- Dom and events
- Qt5.12 installation error prompt: c:\qt5.12.11\vcredist\vcredist_ msvc2019_ x86.exe /norestart /q
- Interpretation of English terms
- IFLYTEK smart office book air e-book reader makes my work life healthier
- Binder原理
- 对需求的内容进行jieba分词并按词频排序输出excel文档
- Naming rules of software test pytest pytest the pre and post confitest of use cases Py customized allure report @pytest.mark.parameter() decorator as data-driven
猜你喜欢
随机推荐
We media people must have four resource tools, each of which is very practical
[leetcode] 502.ipo (difficult)
Document flow definition, box model related knowledge
Binder principle
Floating effect and characteristics
Compiler introduction
为啥谷歌的内部工具不适合你?
[MySQL rights] UDF rights (with Malaysia)
冯诺依曼体系结构
Tree view model example of QT
汇编语言与微机原理实验一、实验二、实验三:分支程序设计/循环程序设计/子程序设计
PE format: analyze and implement IATHOOK
[PMP learning notes] Chapter 1 Introduction to PMP System
分割金条的代价
Severely crack down on illegal we media operators according to law: it is urgent to purify the we media industry
Qtreewidget control of QT
MatrixCube揭秘102——300行实现的完整分布式存储系统MatrixKV
scrapy无缝对接布隆过滤器
Naming rules of software test pytest pytest the pre and post confitest of use cases Py customized allure report @pytest.mark.parameter() decorator as data-driven
平台架构搭建



![[training day15] boring [tree DP]](/img/78/dc80076bb9fc4cf008c51b00ece431.png)




