Part 4 of Yogita Sharma System Design Tutorial: Proxies
This video is about Proxies:
- Defining what proxies are
- Forward proxy
- Reverse proxy
- Pros & Cons and use cases
The term proxy means "on behalf of". Meriam-Webster dictionary defines it as "authority or power to act for another". A real life example includes asking a broker to act on your behalf when seeking to rent or buy an apartment.
![]() |
Forward and Reverse Proxy by cysecguide.blogspot.com |
Forward Proxy
In client-server architecture, the proxy is on the client side which forwards requests to the servers and receives the responses - that are passed back to the client. The client never talks directly to the server and the benefit is that the client is anonymous - the server does not know the IP of the client.
In addition, in a situation where there are multiple proxies communicating with a single proxy - it can cache responses and improve the user experience with the client. Forward proxies can also act to filter outward traffic and block specific traffic requests.
Reverse Proxy
The reverse proxy acts as a middle man between the internet and all the servers. This ensures the anonymity of the servers. It is used for traffic control, load balancing betwen servers, and deflate the impacts of Distributed Denial of Service (cloudflare link) (DDoS) attacks. Reverse proxies can also cache responses and handle SSL/TLS (cloudflare link) encryption.
Pros and Cons of Proxies
- Proxy can be used to block sites
- Proxies can be used to circumvent blocked sites
- Reverse proxy can be single point of failure
- Proxies help with privacy, security, and traffic management
No comments:
Post a Comment