mentorship-wordpress

What are the scalability issues?

With the new WordPress and its new features, it seems like WordPress is capable of much more than a simple blog engine. There are a number of issues that can cause a lot of burden on a WordPress website which might affect the performance of the website.

There are a number of reasons that can cause your website to act slowly or even crash. For example, your server is overwhelmed by a huge number of visitors that is out of capabilities of a server to serve. There are large of a number of people viewing the same page. Your database is taking too long to process queries etc. Hence, there are multiple precautions that should be taken to make sure your website is always available to your users and all of its resources are available at a high speed at the time of scaling WordPress.

Scaling WordPress for heavy loads on databases:

Your website’s database is the ultimate bottleneck when scaling. The two caching strategies we’ve outlined mostly serve to prevent load on the database, first by handling pages before they even hit WordPress, and then by making WordPress less dependent on the Database. However, you’ll eventually need to scale your database, most likely to handle a high volume of read requests (SELECT queries). An elastic architecture allows you increase your capacity through the use of replicas.

mysql_replica

Scaling WordPress for millions of users per day:

Is your site ready for a high traffic event? If a piece of content goes viral; or gets upvoted on social media, can your site handle it, or will it topple over? Don’t let your site’s success be its downfall. Do you want to perk up your page load speeds and quickly scale your site? There are Plugins and Themes can sometimes perform fine at certain traffic levels, but as visits increase and peak times hit, server resources can be pushed beyond their breaking points.

high-traffic-chart

There are options for profiling to identify performance bottlenecks. Once bottlenecks are identified you can do localized optimization with things like the Transients API. For further improved performance, you can configure Memcached, HyperDB, Nginx and/or more to speed things up. And finally, there are emerging WordPress-focused web hosts specializing in performance such as WP Engine, ZippyKid, and others: Best-of-Breed features of a high-end WordPress web host?

Speeding up Dynamic Page Views by Object Caching:

As a content management system, WordPress is naturally heavily dependent on its database, and database efficiency is crucial to scaling WordPress. If requests to your website generate a large number of database queries, your database server’s resources can become overwhelmed. In 2005, WordPress introduced its internal object cache — a way of automatically storing any data from the database. Luckily, WordPress easily integrates with persistent/external storage backends like Redis or Memcached via object cache drop-in plugins.

object_cache

Conclusion:

WordPress scales well if you know how to manage it well.

In this article

Join the Conversation