ఒక proxy అనేది అభ్యర్థనలకు ఒక మధ్యవర్తిగా పనిచేస్తుంది. ఒక forward proxy క్లయింట్ల ముందు ఉంటుంది (వాటిని సర్వర్లకు ప్రతినిధిత్వం చేస్తుంది), అయితే ఒక reverse proxy సర్వర్ల ముందు ఉంటుంది (వాటిని క్లయింట్లకు ప్రతిനిధిత్వం చేస్తుంది) — లోడ్ బ్యాలెన్సింగ్, కాచింగ్, సెక్యూరిటీ మరియు మరిన్నిటిని నిర్వహిస్తుంది. రివర్స్ ప్రాక్సీలు కీ సిస్టమ్-డిజైన్ భాగాలు.
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
