Question

How to spec/size a load balancer for high availability?

Hello, I would like offer high availability and have a load balancer control traffic to my application nodes/droplets. I understand that I can use a droplet as a dedicated load balancer. Is there a best practice or rule of thumb when selecting ram and processor size of a load balancer relative to the amount of users or size of the application nodes themselves? For instance, should the specs of the lb be larger or smaller than the application nodes? Any suggestions?

Thanks!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi,

Like any other application like Exchange etc there is sizing tool for Loadbalancer. Which will help you to size the loadbalancer depending on the size and load of the user. https://kemptechnologies.com/loadmaster-sizing-guide/

Regards, Krishna

A 512MB load balancer droplet running HAProxy or Nginx is usually enough. <br>In most cases, the app servers are larger than the load balancers but that completely depends on your setup and traffic. <br> <br>I’d suggest starting off with 512MB load balancer and scaling up as needed.