Load balanced php servers best practice

[ad_1]

Hi,

I’m wondering what the best approach is to take if there are multiple PHP servers behind a load balancer being used to serve WordPress. Should each PHP server have its own Redis node, or is it better to use a single Redis cache db server for all servers?

Take for example an HA Proxy sitting in front of multiple hosts, each has WP running on clustered file storage & clustered MariaDB database. Should each host have a Redis DB of its own, that the WP application uses? Or should there be a single Redis node (I’m not quite at the point of going full Redis cluster) which all hosts connect to from the WP application?

Thanks in advance!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer