Writing a Reverse Proxy in just one line with Goby@bnchrch
72,205 reads

Writing a Reverse Proxy in just one line with Go

April 2nd 2018
6 min
by @bnchrch 72,205 reads
tldt arrow
EN
Read on Terminal Reader🖨️
JS🚫

Too Long; Didn't Read

A Reverse Proxy is a simple way of saying a traffic forwarder. I get a request send from a client, send that request to another server, receive a response from the server and forward it back to the client. The reverse part of this simply means the proxy itself determines where to send traffic and when. If the proxy domain is equal to A send traffic to URL 1 or B to the Default URL. The concept is so simple it can be applied to assist in many different cases: Load balancing, A/B Testing, Caching, Authentication etc…

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Writing a Reverse Proxy in just one line with Go
Ben Church HackerNoon profile picture

@bnchrch

Ben Church
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa