News for hackers. Stuff that matters.
Re:12,000 Requests per second with Nginx, PHP and Memcached by jjoe on Tuesday February 15, 2011 @01:36AM (#2220391)
I had created a post here regarding a Varnish plugin we wrote for cPanel over a weekend codeathon (http://www.unixy.net/varnish). Based on benchmarks, Varnish+Apache came out ahead of Litespeed. But benchmarks are not always conclusive since user traffic patterns are difficult to reproduce in a benchmark environments.

The feedback we've gotten so far on the plugin is very positive (google if interested). Nginx can do caching but not with the same flexibility as Varnish.

Regards

Re:12,000 Requests per second with Nginx, PHP and Memcached by ck2 on Tuesday February 15, 2011 @02:57AM (#2220532)
Um, but varnish is just a cache and so of course it's faster for static content? Or am I missing something?

Litespeed can work with php several times faster than apache+php while serving dynamic content (and so can nginx).

Re:12,000 Requests per second with Nginx, PHP and Memcached by jjoe on Tuesday February 15, 2011 @08:41AM (#2221103)
Varnish is good for caching any object; static or dynamic. The plugin we wrote uses Varnish to do a lot of dynamic page caching. Varnish is better at dynamic page caching than Nginx.

Litespeed has a caching mechanism too (introduced recently). But I think it requires an enterprise licesense of 2+ CPU. Here are some benchmarks of Apache+Varnish vs Litespeed: http://unixy.net/apache-vs-litespeed

Regards

Re:12,000 Requests per second with Nginx, PHP and Memcached by zepolen on Tuesday February 15, 2011 @08:47AM (#2221129)
Not this again...here are the reasons that benchmark sucked: http://news.ycombinator.com/item?id=1593611
Re:12,000 Requests per second with Nginx, PHP and Memcached by ichilton on Wednesday February 16, 2011 @04:20AM (#2225778)
So would you use Varnish over Nginx as a reverse proxy to Apache?

What about an Nginx+FastCGI+PHP-FPM stack? - would you run Varnish in front of that?

Re:12,000 Requests per second with Nginx, PHP and Memcached by sunkencity on Tuesday February 15, 2011 @03:45AM (#2220614)
The article is about full page caching. How's that different than static content?