On Mon, Apr 18, 2011 at 2:36 PM, James Thornton <span dir="ltr"><<a href="mailto:james@jamesthornton.com">james@jamesthornton.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When you have nginx as a reverse proxy to your application servers,<br>
what are the benenfits of adding Varnish as the caching layer between<br>
nginx and the app servers (as depicted here<br>
<a href="http://www.heroku.com/how/architecture" target="_blank">http://www.heroku.com/how/architecture</a>) vs having nginx perform the<br>
caching, now that ncache is built into nginx?<br></blockquote><div><br></div><div>Varnish has VCL, which makes it more flexible than the cache built into Nginx. The Nginx cache is a "look we can do caching as well" whereas Varnish is only built for caching.</div>
<div><br></div><div>I don't know that much about nginx, but I would guess features such as "saint mode", grace, etc. are hard to implement with nginx. The simple stuff should be reasonably comparable.</div>
<div>
<br></div></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br><i>Varnish makes websites fly!</i><div>
<a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>
<br></div><br>