A proxy yana aiki a matsayin intermediary don bukatannin. A forward proxy yana zaune a gaban clients (wakilta ga servers), while a reverse proxy yana zaune a gaban servers (wakilta ga clients) — yana gudanar da load balancing, caching, security, da iba. Reverse proxies sune muhimmin sassa na system-design.
Forward proxy da 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
