System Design Tutorial: Proxy Server

This tutorial we shall learn about basic of proxy server, how it works, Advantages of proxy server.

Proxy Server:

A proxy server is a computer or a server that acts as a gateway between a local network and the internet. The proxy server will get all the request from the client and forwards the request to the server. So when the server responds, it will recieve the data and forwards to the client.

Proxy server operates on layer 3 of OSI model.

Types of proxy servers:

1. Transperant Proxy Server

2. Distorting Proxy

3. Tunneling Proxy

4. Forward Proxy

5. Reverse Proxy.

Why a proxy server is used?

As a proxy server acts as an intermediatery betweeen the client computer and the server, it can be used in below ways:

1. To monitor the request and responses
2. To store the logs
3. Adding and removing the headres
4. Encrypting and decrypting
5. To block or un-block websites.

Advantages of Proxy server:

1. Proxy server has a cache memory. FOr example, if 100 computers want to download a same software, instead of downloading 100 times, we can download 1 time and place it in the proxy server. Then all the other computer can download from the proxy server. Thus reducing the bandwidth.

2. In time of DDoS attack, proxy server will be effected, but the actual application server will remain safe.

 

 

 

 

 

 

 

 

 

 

 

 

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *