If you were configuring a new VPS for a WP website that hasn’t launched yet, What technologies would you choose? (website specs below)
Website
Targeting 50-60k hits /mo. and more
The website is designed to categorize embedded YouTube videos using a chained select menu (1 query for multiple boxes). Using less than 5 “static” pages. I would like to keep the homepage fairly static so the server can cache it easier.
Server
Starting with a Linode 512mb VPS, can scale up as needed.
What I have planned so far
After scouring the web, it seems that Apache with an Ngnix reverse proxy does not offer any benefits with unless you need Apache for cPanel, or are more comfortable with it (i’m not, just starting out).
Latest Nginx
PHP-FPM
X-Cache
(also using W3 Total cache in WP)
There’s a post here that’s very good about load optimization and performance:
Steps to Optimize WordPress in Regard to Server Load?
It might be a good idea to also utilize a CDN for a majority of your page requests.
If you want performance you’ll have to minimize requests to your database and setup aggressive caching.
Working with Drupal i know this can be built into your drupal install. I’m not very familiar with WordPress and if there are capabilities integrated into WordPress to facilitate reverse proxy requests.
If you’re going to use mem-cache you may need more Ram to serve up the page.
You may want to also setup varnish on your server. Setting up varnish alone will give you a big boost; as i’ve been told.
Varnish http://www.varnish-cache.org/
Achieving the “fastest” server stack involves optimizing multiple layers, not just the software modules (e.g. Ubuntu packages, etc) that make up the actual VPS. I tell clients to think about this sort of like a pyramid analogy, because the “top” means nothing without a good “base”:
Here’s a specific example stack:
CloudFlare + DigitalOcean + Ubuntu LTS + Nginx + MySQL + PHP-FPM + Redis
But it’s not that simple, because you also need to ensure every layer in said “stack” is well configured. This is the part of server management that most web developers don’t know, which is why open source projects like my own SlickStack are trying to make it super easy to automate best practices and settings… including things such as the Linux kernel, etc.