Load balancers Flashcards

1
Q

What’s a good metaphor for an Network Load Balancer and Application Load Balancer

A

An NLB is like an uninquisitive bouncer, they don’t really check your details just let you into the club.

An ALB is like an inquisitive library. It checks your library card, the books, and can forward you to the right stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where does ALB fit in the OSI Model?

A

Layer 7 or Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where does NLB fit in the OSI Model?

A

Layer 4 or Transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When would you use an NLB?

A

For TCP/UDP traffic, optimising for performance, or need static IPs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When would you use an ALB?

A

For HTTP traffic, effective routing, running microserves behind the load balancer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some dynamic load balancing algorithms?

A

Least connection
Weighted response time
Resource type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some static load balancing algorithms?

A

Round robin and weighted round robin, IP hash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly