Writing a Reverse Proxy in just one line with Goby@bnchrch
74,224 reads
74,224 reads

Writing a Reverse Proxy in just one line with Go

by Ben Church4mApril 2nd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

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
Ben Church

Ben Church

@bnchrch

Share Your Thoughts

About Author

Ben Church HackerNoon profile picture
Ben Church@bnchrch

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!