Um proxy atua como intermediário para requisições. Um forward proxy fica em frente aos clientes (representando-os para servidores), enquanto um reverse proxy fica em frente aos servidores (representando-os para clientes) — manipulando balanceamento de carga, cache, segurança e muito mais. Reverse proxies são componentes-chave do design de sistemas.
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
