
Reverse proxy in Go
Reverse proxy A reverse proxy is a type of proxy server that receives a request from a client, forwards it to one or more servers, and relays the response back to the client. The distinguishing feature of a reverse proxy is that it acts as the entry point for the user's connection to the servers, with which the proxy itself is connected by business logic. It determines which servers the client's request will be forwarded to. The logic of the network behind the proxy remains hidden from the user. For comparison, a regular (or forward) proxy connects its clients to any server they need. In this case, the proxy sits in front of the user and simply acts as an intermediary in executing the request. For what purpose to use it The reverse proxy concept can be applied in various situations: Load balancing A/B testing Resource caching Request data compression Traffic filtering Authorization Of course, the scope of application is not limited to these six points. The very fact that it's possible
Continue reading on Dev.to
Opens in a new tab




