Reverse Proxy Vs Forward Proxy

时间:2018-05-17 13:11:24   收藏:0   阅读:173

Reverse Proxy

What is Reverse Proxy Server

A reverse proxy server is an intermediate connection point positioned at a network’s edge. It receives initial HTTP connection requests, acting like the actual endpoint.

Essentially your network’s traffic cop, the reverse proxy serves as a gateway between users and your application origin server. In so doing it handles all policy management and traffic routing.

A reverse proxy operates by:

技术分享图片

Reverse Proxy vs Forward Proxy

In contrast, a forward proxy server is also positioned at your network’s edge, but regulates outbound traffic according to preset policies in shared networks. Additionally, it disguises a client’s IP address and blocks malicious incoming traffic.

Forward proxies are typically used internally by large organizations, such as universities and enterprises, to:

技术分享图片

How CDNs Use Reverse Proxies

Deployed at your network edge, content delivery networks (CDNs) use reverse proxy technology to handle incoming and outgoing traffic. Their benefits include:

Content caching

Reverse proxies are placed in several geographically dispersed locations, where mirror versions of website pages are compressed and cached. This facilitates rapid content delivery based on client geolocation, helping to reduce page load times and improve your user experience.

Traffic scrubbing

Located in front of your backend servers, reverse proxies are ideally situated to scrub all incoming application traffic before it’s sent on to your backend servers.

This provides:

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 and launch direct-to-IP denial of service attacks.

Load balancing

Because reverse proxy server are the gateway between users and your application’s origin server, they’re able to determine where to route individual HTTP sessions. For applications using multiple backend servers, this means the reverse proxy can efficiently distribute the load, thereby improving overall user experience and helping ensure high availability.

In the event that a server goes down, reverse proxies act as a failover solution, rerouting traffic to ensure continued site availability.

原文:https://www.cnblogs.com/lijiebin/p/9050282.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!