Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a load balancer node a bottleneck?

in a web application and service I'm creating it's necessary that it scales horizontally. I want to have 1 load balancer, 3 web server nodes, and 2 database nodes (one will be solely for redundancy and will scale vertically as soon as the first db node goes down).

  1. Does the load balancer act as a proxy?
  2. If so doesn't that defeat the purpose of scaling horizontally if it's going to be a massive bottle-neck?
  3. Should it have significantly more resources than the web server nodes?
like image 979
User2013 Avatar asked Jan 23 '14 06:01

User2013


People also ask

Can a load balancer be a bottleneck?

Bottlenecks. As scale increases, load balancers can themselves become a bottleneck or single point of failure, so multiple load balancers must be used to guarantee availability. DNS round robin can be used to balance traffic across different load balancers.

What is a load balancer node?

The nodes for your load balancer distribute requests from clients to registered targets. When cross-zone load balancing is enabled, each load balancer node distributes traffic across the registered targets in all enabled Availability Zones.

Does load balancer get overloaded?

It is possible for them to be overwhelmed, but typically that requires a load that would saturate most connections.

What are the two types of load balancer?

Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers. Amazon ECS services can use these types of load balancer. Application Load Balancers are used to route HTTP/HTTPS (or Layer 7) traffic.


1 Answers

[I think you meant "scales horizontally" in your first sentence.]

  1. Yes, typical load balancers are proxys.
  2. The load balancer will be a bottleneck if your load is network bound. Usually load is CPU bound so the load balancer distributes the CPU load, not the network load.
  3. No. load balancers don't need many resources since they don't hold or process much data. It should have as much network resources (bandwidth) as possible however.
like image 152
Ted Bigham Avatar answered Sep 24 '22 08:09

Ted Bigham