What is the difference between a forward proxy and a reverse proxy?
A forward proxy sits in front of clients and makes requests to the internet on their behalf, hiding clients from servers. A reverse proxy sits in front of servers and receives requests on their behalf, hiding servers from clients. The difference is whose identity is being protected.
Answered in
Proxy vs Reverse Proxy, and Where Each Sits in a Production Web AppA forward proxy protects clients, a reverse proxy protects servers. What a reverse proxy does in front of your app, and ten components around it.
Read the full analysisOther questions this article answers
More system design & architecture questions
- What is the architectural difference between an API Gateway and a Reverse Proxy?
- When should an architecture use Layer 4 instead of Layer 7 load balancing?
- How do edge ingress layers prevent backend cascading thundering herds?
- What algorithm is best for sticky sessions without breaking even distribution?
- How can a CDN improve performance for dynamic requests?
- What is the hardest part of operating behind a CDN?
- How can a CDN help with traffic surges or DDoS attacks?
- What is the difference between a Push CDN and a Pull CDN?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.