26 points · by eisokant · 16y ago · 23 comments
I just wanted to share with you the link to an incredible HTTP accelerator: http://varnish-cache.org/
We've been testing a lot of different stacks for our startup (Tyba) and using NGINX (behind) + Varnish (upfront) has allowed us to go from 9 reqs/sec (loading a Wordpress site) to 2500 reqs/sec.
I know it's not a novelty but I wanted to share it in the hope it helps the few people who don't know about it.
Kind regards,
Eiso
To give some context, this describes how Varnish combines mmapping with a nice memory partitioning scheme to get free caching from the OS, instead of fighting the OS' tendency to cache and managing it yourself.
Also, the guy that wrote it (Poul Henning-Kamp) is very responsive when it comes to answering questions or fixing issues, they have an IRC channel at #varnish on irc.linpro.no.
Definitely a piece of software worth looking in to when your website gets bigger.
I still love Nginx though :-)
It's also likely[1] faster and more well behaved under high loads, simply because it has been around for much longer and seen more tuning in large deployments.
[1] Disclaimer: I haven't benchmarked them against one another, that's merely my common-sense assessment.