Feasibility of distributed WordPress cluster?
by Turbocapitalist from LinuxQuestions.org on (#582Z1)
I have one machine which chugs along rather easily running WordPress, with load average: 1.01, 0.97, 0.96
... most of the time.
However, sometimes it gets maxed out under heavy loads. How practical would it be to put it on multiple lightweight VPSes and just spin up additional hardware to match the load when it high and spind down the redundant capacity when things are quiet.
Currently, there is a Varnish instance in front of it, but all of the WordPress components are otherwise on a single machine.
Can a single WordPress site run on multiple machines? Or should the backend be split up?
Code:
+--- WP
load |
balancer -----+--- WP
|
+--- WPOr
Code: +--- MariaDB
+--- WP (Apache2) ---+
load | +--- MariaDB
balancer -----+ |
| +--- MariaDB
+--- WP (Apache2) ---+
+--- MariaDBWhat is the recommended best practice to avoid overprovisioning sites with variable loads?


... most of the time.
However, sometimes it gets maxed out under heavy loads. How practical would it be to put it on multiple lightweight VPSes and just spin up additional hardware to match the load when it high and spind down the redundant capacity when things are quiet.
Currently, there is a Varnish instance in front of it, but all of the WordPress components are otherwise on a single machine.
Can a single WordPress site run on multiple machines? Or should the backend be split up?
Code:
+--- WP
load |
balancer -----+--- WP
|
+--- WPOr
Code: +--- MariaDB
+--- WP (Apache2) ---+
load | +--- MariaDB
balancer -----+ |
| +--- MariaDB
+--- WP (Apache2) ---+
+--- MariaDBWhat is the recommended best practice to avoid overprovisioning sites with variable loads?