Enterprise WordPress Hosting: Automatic Scaling and High Availability

The availability and performance have a direct business impact and therefore are major factors when choosing a hosting service. Obviously, no one wants to lose money because of occasional downtime, but at the same time – no one can be completely safe from it. Thus, to minimize the risk of such issue occurrence and to ensure an extra level of redundancy, the clustering approach can be used. Today, we’ll take a closer look at auto-scaling and clusterization of WordPress CMS.

WordPress cluster helps to handle permanent high load and huge load spikes, ensures zero downtime, improves performance, cuts maintenance costs, and, as a result, offers an excellent experience for end-users.

In this article, we’ll cover how to:

      • install a WordPress cluster powered by NGINX and a highly available MariaDB Galera cluster
      • get a free Let’s Encrypt SSL certificate with automatic renewal
      • bind a custom domain and update the certificate
      • scale dynamically based on the load
 
WordPress Cluster Components
Pre-packaged WordPress cluster is available in Unispace Marketplace with a set of installation options. Let’s walk through all components to get a complete understanding of how this solution works and what results can be expected.

Premium CDN

CDN Add-On is integrated into the WordPress cluster to provide a superb experience for site visitors and achieve higher Google ranks. It leverages a highly interconnected global network, featuring massive bandwidth capacity, advanced caching, and acceleration strategies along with HTTP/3 support to provide lightning-fast WordPress static assets loading from the nearest PoP (point of presence). This CDN network spans the globe with 130+ Super PoPs located on six continents. Unispace customers get premium traffic for the same price across all continents and countries with no surprising bills based on geographic locations.

Let’s Encrypt SSL

Let’s Encrypt SSL Add-On automates the issuing of trusted SSL certificates, custom domain validation, and certificate renewal to ensure a highly secure connection.

LiteSpeed Web ADC

LiteSpeed Web ADC (Application Delivery Controller) is a new generation load balancer that supports modern HTTP/3 protocol. It provides a flexible algorithm of traffic distribution for optimal performance, as well as ESI dynamic cache that helps to serve dynamic content directly and reduce requests to web servers.

Web Application Firewall

The Web Application Firewall (WAF) secure feature is enabled by default in LiteSpeed Web Server. WAF comes with Layer-7 Anti-DDoS Filtering, WordPress brute force protection, as well as IP level bandwidth and request rate throttling. LiteSpeed WAF manages rules for dynamic requests, which allows significantly optimized computing power.

LiteSpeed Web Server

LiteSpeed Web Server is a scalable, high performing, and low memory consuming web server enriched with an extensive feature set. It includes ESI, browser, and object cache; optimizes CSS, JavaScript, and images; provides support of HTTP/3, CDN, WAF, Geo-DNS, CAPTCHA, IP throttling, cutting-edge anti-DDoS protection and more.

MariaDB Galera Cluster

As storage for dynamic content, the MariaDB Galera Cluster is employed. Due to true multi-master topology with automatic new node provisioning, Galera ensures no data loss upon nodes crash, no slave lag, and no lost transactions.

Redis

Redis is a high-performance RAM-allocated data structure store running in the LiteSpeed Web Server container and used as a high-speed caching solution. Object caching stores already loaded database query results and serves the appropriate requests faster.

Shared Storage

In order to keep WordPress static assets, the shared storage is used for all web-servers in the cluster.