How Can I Setup Single Point Of Failure For Load Balancer

Posted November 17, 2021 96 views
ScalingLoad BalancingDigitalOcean Managed Load Balancers

Hi I am having an application where the servers are load balanced. Now the problem is if the load balancer for some reasons stops then my whole application stops.

How can I have a backup load balancer so that if one stops other kicks in right away and notify me about the other load balancer.

Also what will happen for the sticky sessions. Is there a way one load balancer can keep syncing all the sticky sessions and other settings made to main load balancer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


In case that you are using a DigitalOcean Managed Load Balancer, adding a completely separate Load Balancer should not be needed, but instead, you can add additional nodes to this Load Balancer in order to increase the number of simultaneous connections and requests per second:

In case that you are running your own unmanaged load balancer with HAProxy, you could follow the steps here on how to configure a high availability setup using Heartbeat and a floating IP address:


by Sebastian Canevari
Heartbeat is an open source program that provides cluster infrastructure capabilities—cluster membership and messaging—to client servers, which is a critical component in a high availability (HA) server infrastructure. Heartbeat is typically used in conjunction with a cluster resource manager (CRM), such as Pacemaker, to achieve a complete HA setup. However, in this tutorial, we will demonstrate how to create a 2-node HA server setup by simply using Heartbeat and a DigitalOcean Floating IP.