Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Primarily by putting a caching proxy server like Varnish in front of Wordpress.


Yep, this is what we do. Adding in some kind of object cache cluster wasn't a significant enough of an improvement over just hitting mysql to justify the extra point of failure.

The problem is WP just makes a ton of simple queries - in any complex install the bottleneck is probably going to be network latency to the database.


I think this echo's Rene's point about moving the cache closer to the application as well.

I have some hypothetical numbers illustrating the impact of network latency: http://www.tocker.ca/2013/11/18/how-important-is-it-to-merge...

The simple queries are basically free once they get to MySQL. Query cache does not help.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: