Proxy
- Tags
- sys-design
Refers to a host (computer) that makes a request in place liueu
of you.
We define:
Proxy | Description | Note |
---|---|---|
Forward Proxy | Proxies on behalf of client to server. | Server doesn't know data has been proxied. |
Reverse Proxy | Proxies on behalf of server to client. | Client doesn't know request has been forwarded. |
Advantages & Disadvantages
- SSL Termination. Can decrypt requests and encrypt responses to avoid forcing this responsibility onto servers.
- Increased security. Harder to see how the system is structured.
- Increased scalability and flexibility. The backend can be reconfigured without issue.
- Compression - Compress server responses
- Caching - Return the response for cached requests
- Static content - Serve static content directly