How well does WordPress scale?

With the new WordPress and it’s new features, it seems like WordPress is capable of much more than a simple blog engine. But how well does WordPress scale being used by say 10k -> 100k users per day?

With that many users a big part of it will be to have a good cache strategy, but how well is WordPress developed to help, making this easy and give you the control you need. Fx being able to cache part of a page and only render user customized parts, support master/slave db setup and stuff like that?

3

Clearly nothing scales as well as static files served by a fast web server and any CMS that has to figure out what to load and then load it will not perform as well, WordPress or otherwise. One of the issues is the number of database queries required per URL request and my 2 prior years experience working exclusively with Drupal and now 2+ years with WordPress is that WordPress is much better in that department.

That said, almost nothing with any power is going to scale “out-of-the-box”; it’s all about what can you do as your scalability needs grow?

On the low end of “lots of traffic” there are great caching plugins and integrations with inexpensive CDNs you can do a pretty good job on a no-IT budget and low hosting budget. Here are some other questions & answers to review:

  • Steps to Optimize WordPress in Regard to Server Load?
  • Options for CDN with WordPress Including Supporting Plugins?
  • Configuring WordPress for Amazon CloudFront Caching?

There are options for profiling to identify performance bottlenecks:

  • Profiling a WordPress Website for Deployment on Shared Hosting?

Once bottlenecks are identified you can do localized optimization with things like the Transients API. This Q&A gives an example that can be optimized using Transients API and shows how:

  • Using WP_Query to Query Multiple Categories with Limited Posts Per Category?

If you thing really get want to pull out the big guns you can configure Memcached, HyperDB, Nginx and/or more to speed things up (it seems the latter is really evolving into the way to get amazing scalability out of WordPress):

  • Enable Memcached for your WordPress
  • How To Speed Up WordPress With Nginx And WP Super Cache
  • HyperDB
  • Nginx as a front-end proxy cache for WordPress

And finally there are emerging WordPress-focused webhosts specializing in performance such as WP Engine, ZippyKid and others:

  • Best-of-Breed features of a high-end WordPress web host?

So the good news is all of the scales very nicely; from the very low end of free and easy with technical complexity and cost only grow as traffic significantly grows. Start small with WordPress and it will be great. If your traffic does grow and you are monetizing it even reasonably well you’ll find it very cost effect to scale as you need it.

At least IMO. 🙂

Leave a Comment