6 - Cloud Apps and Load Balancing Flashcards

1
Q

Three tier architecture for cloud app

A

Load balancing tier (spread)
App tier (process and respond)
Data tier (cache and handle db reqs)

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

Load balancing aims

A

Maximise throughput
Minimise response times
Avoid overload

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

Load balancing definition

A

Balance traffic across a group of devices

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

SLB

A

Server Load Balancer

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

SLBs are the _____ between servers and network

A

bridge

They understand higher layer protocols (and net protocols)

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

Benefit of SLB: Scalability

Capacity

A

Capacity is far greater than single server

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

Benefit of SLB: Availability

A

Health of real servers and apps monitored

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

Benefit of SLB: Manageability

A

Servers can be taken offline without downtime

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

Benefit of SLB: Security

A

Load balancers protect server farm from malicious users

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

Benefit of SLB: Quality of Service

A

Users can be provided service classes based on info in request packets

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

Stateless vs Stateful Load Balancing

A

Stateless - don’t track individual session
Stateful - track

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

Stateless Load Balancing Hashes

A

Use info in the IP packet: source IP, dest IP, source port and dest port

1: md5 packet header
2: mod that by n*# of paths

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

Stateful Load Balancing session tracking

A

Use a session table

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

Stateful Load Balancing Least Connections

A

Sends new requests to the server with least number of concurrent connections

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

Stateful Load Balancing Weight Distribution

A

Assign based on relative capacity of each server (weight)
Must be used with another message

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

Stateful Load Balancing Response Time

A

New requests sent to server with fastest response times

Good for high perf services but not best method

17
Q

Stateful Load Balancing Server Probes

A

Detect load conditions on servers

Requires programs on each server and extra maintenance. Uncertainty of accuracy

18
Q

Simple Design

A

One balancer

19
Q

High Availability “Active-Standby”

A

Pair of balancers. Only one active

20
Q

High Availability “Active-Active”

A

Pair of balancers. Both active

21
Q

Vertical Scaling

A

Adding/replacing with more computation resources

22
Q

Horizontal Scaling

A

Adding more machines