Proxy

Forward Proxy vs Reverse Proxy

Forward Proxy

  • It is a server sitting between clients and internet

  • It can be used to hide the ip address of client side, bypass the restriction rule from firewall and block access to certain content before accessing to internet

Reverse Proxy

  • It is a server sit between internet and web server

  • It can help to protect the location of server

  • Caching for the content

  • Load balancing for the web servers

  • Minimizing the needs of SSL encryption, as client only need to send https request to the proxy server

  • Examples: Load balancer, CDN, API gateway, etc

CDN (Content Delivery Network)

  • CDN deploys edge servers around the world, the server location is called point of presence (PoP)

  • When user make a request to CDN, it will direct the request to the closest edge server

  • When user make the same request content request to CDN, it will return cached response from edge server instead of making request to origin web server in order to reduce latency

  • It also prevent from DDOS attack as CDN contain lots of edge servers and hide the location of web server

References

Last updated

Was this helpful?