当前位置:网站首页>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 .
边栏推荐
- 3 lexical analysis
- Today, learn about the use of lists, hyperlinks, image tags, and audio and video
- What is the difference between character constants and string constants?
- HCIE终到手,路才开始
- The third programming competition of Wuhan University of technology b- save the kingdom of DAG (topological properties deal with accessibility Statistics)
- Common software shortcuts
- Severely crack down on illegal we media operators according to law: it is urgent to purify the we media industry
- 【集训DAY13】Out race【数学】【动态规划】
- 【集训DAY13】Internet【并查集】
- 【集训DAY13】Travel【暴力】【动态规划】
猜你喜欢

Matrix of C language

According to the use and configuration of data permissions in the open source framework

Day006 select structure (if statement exercise)

recyclerview计算滑动距离之computeHorizontalScrollExtent-computeHorizontalScrollRange-computeHorizontalScrol
![[training Day11] Nescafe [greed]](/img/4f/c9c7ae8a7b09ee58dd0fdbc55baf72.png)
[training Day11] Nescafe [greed]

Vodak software: Smart City solution

3 词法分析

Qtreewidget control of QT
![[PMP learning notes] Chapter 1 Introduction to PMP System](/img/80/144124af40f0a015c4deafc3aa7432.png)
[PMP learning notes] Chapter 1 Introduction to PMP System

Websocket summary
随机推荐
【集训DAY15】油漆道路【最小生成树】
【集训DAY12】X equation 【高精度】【数学】
Compiler introduction
对需求的内容进行jieba分词并按词频排序输出excel文档
Ribbon execution logic source code analysis
[training day13] out race [mathematics] [dynamic planning]
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
What is the difference between bio, NiO and AIO?
汇编语言与微机原理实验一、实验二、实验三:分支程序设计/循环程序设计/子程序设计
Box model (2)
【MySQL提权】UDF提权(附带大马)
Today, I sorted out some problems about high collapse
[training Day12] be go! [dynamic programming] [mathematics]
【自然语言处理】【向量表示】AugSBERT:改善用于成对句子评分任务的Bi-Encoders的数据增强方法
IPv4 addresses have been completely exhausted, and the Internet can work normally. NAT is the greatest contributor!
According to the use and configuration of data permissions in the open source framework
The price of dividing gold bars
沃达德软件:智慧城市方案
[training Day11] Calc [mathematics]
Anaconda~Upload did not complete.