Load Balancing and WordPress Question
-
Good evening,
I currently have the following setup ::
2x WordPress Servers (Apache, PHP, WordPress)
1x Database Server (MariaDB)
1x External Load Balancer (Public IP)The issue that I am facing is that when the front-end developer is working in wp-admin, he randomly gets booted from it.
My thoughts are that this is because while he browses through different parts of wp-admin, the load balancer is bouncing between two servers and something happens with the session (ie. he logs into wp-admin from web server 1 and say he clicks on ‘Pages’, the next request goes to web server 2 but web server 2 isn’t aware of the active wp-admin session).
It is not plausible to always have to remove one server from the load balancer anytime he needs to make changes, because it would result in a temporary single point of failure (only 1 web server serving requests).
What can be done about this? I know I cannot be the only one who has ran into this challenge.
Thanks!
- The topic ‘Load Balancing and WordPress Question’ is closed to new replies.