Sitemap
Olujobalo Taiwo

Olujobalo Taiwo

Cloud Enthusiast, Data Analyst

Proxy, Proxy, Reverse Proxy

3 min readDec 4, 2021

--

I was as inquisitive as you probably are right now before I gained a good view of what reverse proxy was. At the end of this article, you’ll have a concrete understanding of what reverse proxy is, the operation and as far as forward proxy. However, this article will be majorly centered on reverse proxy. A proxy server is and intermediary server that forwards requests for multiple clients to different servers across the Internet.

A Reverse proxy is a kind of proxy that poses as an additional level of control to ensure the smooth flow of network traffic between clients and servers. It receives initial HTTP connection requests, acting like the actual endpoint. Reverse proxy operates by:

  • Receiving a user connection request.
  • Connecting with the origin server and forwarding the original request.
  • Completing a TCP three-way handshake, terminating the initial connection.

The main difference between the reverse and forward proxy is that, forward proxy is used by the client such as a Web browser whereas reverse proxy is used by the server such as Web server. 
Common uses of reverse proxy are:

  1. Load balancing – A reverse proxy server can act as a “traffic cop,” sitting in front of your backend servers and distributing client requests across a group of servers in a manner that maximizes speed and capacity utilization while ensuring no one server is overloaded, which can degrade performance. If a server goes down, the load balancer redirects traffic to the remaining online servers.
  2. Web Acceleration – Reverse proxies can compress inbound and outbound data, as well as cache commonly requested content, both of which speed up the flow of traffic between clients and servers. They can also perform additional tasks such as SSL encryption to take load off of your web servers, thereby boosting their performance.
  3. Security and anonymity – By intercepting requests headed for your backend servers, a reverse proxy server protects their identities and acts as an additional defense against security attacks. It also ensures that multiple servers can be accessed from a single record locator or URL regardless of the structure of your local area network.
  4. IP masking - When routing your incoming traffic through a reverse proxy server, connections are first terminated by the proxy and then reopened with the backend server. From your users’ perspective, their requests are resolved via the proxy IP. As a result, your origin server’s IP address is masked. This makes it considerably more difficult for attackers to gain access.
  5. Content Caching - This facilitates rapid content delivery based on client geolocation, helping to reduce page load times and improve your user experience.

Thank you for taking your time to read❤️

Get Olujobalo Taiwo’s stories in your inbox

Join Medium for free to get updates from this writer.

Please leave a comment if you have any thoughts about the topic — I am more than open to learning and knowledge explorations.

I can imagine how helpful this post has been, do leave a clap 👏 below a few times to show your support for the author!

--

--