Benefits of Varnish vs nginx/ncache?

Per Buer perbu at varnish-software.com
Thu Apr 21 09:55:56 CEST 2011


On Mon, Apr 18, 2011 at 2:36 PM, James Thornton <james at jamesthornton.com>wrote:

> When you have nginx as a reverse proxy to your application servers,
> what are the benenfits of adding Varnish as the caching layer between
> nginx and the app servers (as depicted here
> http://www.heroku.com/how/architecture) vs having nginx perform the
> caching, now that ncache is built into nginx?
>

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.

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.

-- 

Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110421/1d5a9919/attachment-0003.html>


More information about the varnish-misc mailing list