<div dir="ltr"><div>>>If your content is cachable and you don't require varnish's<br>
cache-invalidation features, you could use nginx's proxy-caching<br>
features.<br><br></div>Well, i want to cache application means, dynamic php pages. Will that be OK with nginx ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 3:21 PM, shahzaib shahzaib <span dir="ltr"><<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks for quick response, well our website is related to video streaming just like youtube. Could you provide me some guide to learn varnish for start-up ?<br>
<br></div>Any suggestions will be highly appreciated.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div><span class="HOEnZb"><font color="#888888">Shahzaib</font></span><div><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 3:17 PM, Rainer Duffner <span dir="ltr"><<a href="mailto:rainer@ultra-secure.de" target="_blank">rainer@ultra-secure.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Tue, 22 Apr 2014 14:39:53 +0500<br>
schrieb shahzaib shahzaib <<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>>:<br>
<div><div><br>
> Hello,<br>
><br>
> We're using the cluster of 5 webservers using nginx (reverse<br>
> proxy)<br>
> + apache to handle php requests. Our web-servers are constantly high<br>
> with load-avg of 2.0~3.0. I have seen people using varnish between<br>
> nginx + apache. Could someone guide me if installing Nginx > Varnish<br>
> > apache will reduce the server load ?<br>
><br>
> It's urgent.<br>
<br>
<br>
</div></div>If the content is cachable, it will reduce load.<br>
<br>
But deploying varnish requires some experience and knowledge of the<br>
application.<br>
Unless the application is e.g. plain-vanilla wordpress, there are no<br>
out-of-the-box varnish tutorials to help you in your specific situation.<br>
<br>
If your content is cachable and you don't require varnish's<br>
cache-invalidation features, you could use nginx's proxy-caching<br>
features.<br>
<br>
See the wiki/handbook.<br>
<br>
<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>