ReviseAlgo Logo
Beginner8 min readNetworking & Communication

Proxy vs Reverse Proxy

Fowarding client requests anonymously vs. securing, caching, and rate-limiting backend servers.

What you'll learn

  • Forward Proxy
  • Reverse Proxy
  • Load Balancing

TL;DR

Fowarding client requests anonymously vs. securing, caching, and rate-limiting backend servers.

Visual System Topology

1. Forward Proxy

Client A
Forward Proxy
Hides Client IP
INTERNET
Public
Server

2. Reverse Proxy

Public
Client
INTERNET
Reverse
Proxy
Hides Internal Servers
App Server 1
App Server 2
App Server 3

Concept Overview

Proxies are intermediary servers that sit between clients and servers. A forward proxy acts on behalf of clients, while a reverse proxy acts on behalf of servers.

They provide additional functionality like security, caching, load balancing, and anonymity.

Key Architectural Pillars

1

Forward Proxy

Sits between clients and the internet. Clients send requests to the proxy, which forwards them to servers. Hides client identity.

2

Reverse Proxy

Sits between the internet and servers. Receives client requests and forwards to appropriate backend servers. Hides server architecture.

3

Load Balancing

Reverse proxies can distribute incoming requests across multiple backend servers.

AI Tutor

Ask about the topic

Sign in Required

Please sign in to use the AI tutor

Sign In
Proxy vs Reverse Proxy - Module 2: Networking & Communication | System Design | Revise Algo