Without control over the distance between both servers (they can be in two different data centers) and a separate dedicated interserver communication line, I would rather run them through a circular DNS or loadbalancer, which redirects clients to any www1.yourdomain.xxx or www2.yourdomain. xxx and carefully handle the server connection.
If the servers communicate strongly with each other, you can either see how to change your architecture, optimize the hell from the application to "fit" on one server (at least temporarily), or switch to dedicated hosting with control of location, distance and cables your servers. Otherwise, your interserver communication, heart rate, etc. They will use the same channel as the clients who communicate with it (for example, the same network segment), which can slow down everyone.
If you really expect such a heavy load, I suppose there is at least some money, no? Use it wisely and use your tuning skills for problems more complicated than setting up distributed clustering without control or leased lines.
source share