News for hackers. Stuff that matters.
Re:10 Million hits a day with Wordpress using a $15 server by IanDrake on Friday March 30, 2012 @12:03PM (#3776619)
Great article.

Question: If you have Varnish running as a cache, should you really have the WP 3W Cache plugin running too? Seems redundant, but I'm not familiar this tech.

Re:10 Million hits a day with Wordpress using a $15 server by hkarthik on Friday March 30, 2012 @12:46PM (#3776839)
Varnish caches the actual HTTP requests, and speeds up static content substantially by removing the necessity to load up PHP.

WP caching speeds up requests that spin up PHP by preventing them from making a connection to the MySQL Database. This is useful for requests that may peruse multiple blog posts, but load the exact same sidebar content by caching things like post counts, categories, tag clouds, etc.

Re:10 Million hits a day with Wordpress using a $15 server by IanDrake on Friday March 30, 2012 @03:31PM (#3777689)
Really? That's interesting. I assumed the WP caching was straight page output caching.
Re:10 Million hits a day with Wordpress using a $15 server by hkarthik on Friday March 30, 2012 @05:35PM (#3778200)
Some of the cache plugins may just utilize page output caching, but IMO if you're spinning up your language runtime (Ruby, PHP, Python, Java, .NET) just to do page caching, you've already lost. Varnish and even built in Web Server caching can be far more efficient.

It's better to use the language runtime for more specific caching inside your application logic and for smarter cache expiration.

Re:10 Million hits a day with Wordpress using a $15 server by arn on Friday March 30, 2012 @02:17PM (#3777321)
Agreed. I'd like to see the same benchmark run with Varnish + Apache. No W3Cache, No Nginx. I'd bet this synthentic benchmark would show the same performance, meaning it's all just hitting Varnish anyway.