Quick instructions for setting up nginx, varnish, and php-fpm with WordPress and the W3TC plugin for a server that can dish out lots of pages.
10 Million hits a day with WordPress using a $15 server | Ewan’s Blog on IT and stuff like it
Quick instructions for setting up nginx, varnish, and php-fpm with WordPress and the W3TC plugin for a server that can dish out lots of pages.
10 Million hits a day with WordPress using a $15 server | Ewan’s Blog on IT and stuff like it
For what it’s worth, I’ve recently migrated to a similar setup, minus the varnish front-end.
I’m using Nginx and PHP-FPM with APC, and the W3 Total Cache plugin. Also, my MySQL server is a separate machine, and I also have a separate Memcache server. I use APC just for opcode caching. W3TC uses enhanced disk page caching, and Memcache for object and database caching.
Do make sure you use the dotdeb distribution for PHP-FPM, as it is more up-to-date than the “official” Ubuntu package. The newer versions of PHP-FPM support an “ondemand” mode which helps free up server memory when your site traffic is low.
Pingback: Dougal Campbell: 10 Million hits a day with WordPress using a $15 server | Ewan’s Blog on IT and stuff like it | WordPress Planet