By channaveer
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
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:
https://docs.digitalocean.com/products/networking/load-balancers/how-to/scale/
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:
Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.