|
Thursday 19 March 2009 2:03:40 am
Comment50872
Hi Jérôme and Thank you !
no worries :)
When you're talking about a reverse proxy like Varnish, can you explain me what it's supposed to do here ? I'm not familiar with it.
Sure, In a "normal" mode (I take only one node to avoid all Load Balancer stuff which will make the schema harder to read and is not that relevant here) you have basically this :
Internet -> Apache -> Exponential
Which means for each HTTP request you hit Apache which returns you the result you expect (from binary files, videos...) to plain/* file like HTML, CSS, JS, whatever you want. The problem with that type of architecture is that Apache is over sollicitated. This is where a reverse proxy comes into play, with a reverse proxy (like Varnish) you now have this :
Internet -> Varnish -> Apache -> Exponential
In that case, Varnish will intercept any possible request and return the expected result from its cache without even requesting Apache and Exponential which reduces load especially when images comes from a Database ;) Please note that what is described here is the most basic view possible, just for you to get the concept of what a Reverse Proxy is actually. :)
|