ਇੱਕ proxy ਬੇਨਤੀਆਂ ਲਈ ਇੱਕ ਵਿਚੋਲੀ ਵਜੋਂ ਕੰਮ ਕਰਦਾ ਹੈ। ਇੱਕ forward proxy ਕਲਾਇੰਟਾਂ ਦੇ ਸਾਹਮਣੇ ਬੈਠਦਾ ਹੈ (ਸਰਵਰਾਂ ਨੂੰ ਉਹਨਾਂ ਦੀ ਨੁਮਾਇੰਦਗੀ ਕਰਦੇ ਹੋਏ), ਜਦੋਂ ਕਿ ਇੱਕ reverse proxy ਸਰਵਰਾਂ ਦੇ ਸਾਹਮਣੇ ਬੈਠਦਾ ਹੈ (ਕਲਾਇੰਟਾਂ ਨੂੰ ਉਹਨਾਂ ਦੀ ਨੁਮਾਇੰਦਗੀ ਕਰਦੇ ਹੋਏ) — ਲੋਡ ਬੈਲੇਂਸਿੰਗ, ਕੈਸਿੰਗ, ਸੁਰੱਖਿਆ, ਅਤੇ ਹੋਰ ਬਹੁਤ ਕੁਝ ਸੰਭਾਲਦੇ ਹੋਏ। ਰਿਵਰਸ ਪ੍ਰੌਕਸੀ ਮੁੱਖ ਸਿਸਟਮ-ਡਿਜ਼ਾਈਨ ਭਾਗ ਹਨ।
Forward proxy ਬਨਾਮ 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
