Question

Is load balancers decrease bandwidth speed?

I’m planned to use load balancer to my droplets.

But, I’m concern about bandwidth speed.

If I have two droplets with 50Mbps speed (for each droplet). I can serve content to 100 visitors with 1Mbps speed at the same time.

When I’m using Load Balancer (if load balancer is also have same speed 50 Mbps limit) I can serve content to 100 visitors with 500Kbps speed at the same time.

Is it right? Also, Is DigitalOcean set any bandwidth speed limits on load balancer?


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.

@chandranakka

Using a Load Balancer won’t cut download speeds, it simply balances incoming requests and directs them to a server in your configured cluster. If you’re using DigitalOcean’s Load Balancer service, you would choose either Round Robin or Least Connections when setting up the LB, which is what will determine how visitors are directed to the Droplets you’ve attached.

Round Robin configuration means that visitors will be directed to the first available server in the mix. As long as that first server is deemed active, it’ll be the one to serve incoming requests. Should that server go down, Round Robin connects to the next active server that’s available to handle requests.

Least Connections works a little different in that it keeps track of which server has the most activity as well as the least activity. The least active server that’s configured will be the one to receive the next request. For example, if you have 2 Droplets and one has 100 connections while another has 50, the one with 50 will serve the next request and so forth and so on.

You’re not dividing bandwidth or download capabilities by using a LB, you’re simply balancing the load of incoming requests by directing them to multiple servers instead of a single.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel