Un proxy acționează ca intermediar pentru cereri. Un forward proxy se situează în fața clienților (reprezentându-i către servere), în timp ce un reverse proxy se situează în fața serverelor (reprezentându-le către clienți) — gestionând echilibrarea încărcăturii, cache-area, securitatea și multe altele. Reverse proxy-urile sunt componente cheie ale design-ului sistemelor.
Forward proxy vs reverse proxy
FORWARD PROXY → sits in front of CLIENTS, forwarding their requests to servers:
Client → FORWARD PROXY → Internet/Server
→ represents the CLIENT (hides client identity); for filtering, caching, anonymity,
access control (e.g. corporate proxies)
REVERSE PROXY → sits in front of SERVERS, receiving requests on their behalf:
Client → REVERSE PROXY → Backend servers
→ represents the SERVERS (clients don't see the backend); the common system-design component
