પ્રોક્સી એ વિનંતીઓ માટે એક મધ્યસ્થી તરીકે કાર્ય કરે છે. ફોરવર્ડ પ્રોક્સી ક્લાયંટ્સની આગળ બેસે છે (તેમને સર્વર્સ તરફ રજૂ કરે છે), જ્યારે રિવર્સ પ્રોક્સી સર્વર્સની આગળ બેસે છે (તેમને ક્લાયંટ્સ તરફ રજૂ કરે છે) — લોડ બેલેન્સિંગ, કેશિંગ, સુરક્ષા અને વધુ ઘણું કામ કરે છે. રિવર્સ પ્રોક્સી સિસ્ટમ ડિજાઇનના મુખ્ય ઘટકો છે.
ફોરવર્ડ પ્રોક્સી વર્સસ રિવર્સ પ્રોક્સી
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
