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

Writing a Reverse Proxy in just one line with Go

April 2nd 2018
4m
by @bnchrch 74,221 reads
tldt arrow
EN
Read on Terminal Reader
Read this story w/o Javascript

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

Receive Stories from @bnchrch

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!