By dennis626952
Hi,
I like to know your experiences with Load Balancing. I want to host multiple website’s with 1 load balancer and 2 webservers. What do you guys find best? HAProxy? Nginx? Zen Load Balancer?
I hope you guys can help me out :D
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!
I have found that snapt.net is great. fully layer 7 but also really good from a UX and functionality perspective. IMO its easily as feature rich as the best, but really lightweight setup and lifetime cost. Tried nginx and wasn’t totally happy.
This question was answered by @EpicCDN:
Nginx works great, even better if you replace apache for nginx + php-fpm on web servers.
You want to load balance to balance resources or to avoid downtime in case of one of the servers goes down?
Because if is the former you maybe need a different solution like Varnish4 which can also do load balancing pretty well.
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.