Proxy Requests for Local and Remote Service Parity

InstructorMark Shust

Share this video with your friends

Send Tweet

High availability apps require that no distinction be made between local and remote services. Attached resources should be accessed by environment variables, and in doing so allow you to swap out one attached resource for another.

In this lesson we will setup a reverse proxy that directs image path requests and routes them through a defined server URL. By doing so, we decouple server requests for images which allows for easy switching from locally-served image assets to a CDN by simply updating an environment variable.

Alan Plum
~ 7 years ago

No offense, but that cat is pretty gnarly.

miguel
~ 6 years ago

I don't know if I'm missing some courses or anything... but this and the last video started with tools which you don't explain how to install or configurate. I know how to install mongodb and express but I think you should create a video with all the required tools for this course.

Naman Kumar
~ 6 years ago

I am unable to understand the use case of proxy requesting the CDN for static content, other then just for testing. Why in production will the client request the server for such content and not directly the CDN. I would like to know the benefit, I think I am missing something.

oli
~ 6 years ago

To which of the 12factor rules is this subject correlate?