Proxy Servers

Proxy Servers

Proxy Means adding a MiddleMan between the Client and the Server.

For example, If we are sending a request from India to the server in the USA and that server will only accept the request from the USA origin, there we use a PROXY server to handle the request

Proxy acts as a middleman which does not allow the client to send requests directly to the server.

The Diagram Below shows the flow of the Forward Proxy

Reverse Proxy

Reverse Proxy again acts as a middleman between the server and the client, But the difference is that it distributes the request to the appropriate server, servers which are hosted on different ports. This is done for load-balancing. Load-balancing means handling the request from client and distributing the request to different server whenever the traffic is high.

the diagram below will show the flow of Reverse Proxy