Scalability Flashcards

1
Q

What is the definition of scalability?

A

The capability of a system, network, or process to handle a growing amount of work, with the potential to be enlarged in order to accommodate that growth.

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

What should a system have to be considered to have linear scalability?

A

The amount of work needs to be perfectly divisible by the number of available resources.

OR

The amount of work done by each resource needs to be constant over time.

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

What is the ratio that defines efficiency?

A

It is the performance per unitary size/load. Linearly scalable systems preserve efficiency as size/load grows.

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

Give an example of a system that by having a serial portion, limits the scalability from being linear.

A

For example, a distributed database where the requests are handled by more than one worker and need to be assembled before replying to the client.

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

What is the formula that returns the throughput at size N, in a system with perfect linear scalability?

A

X(N) = λN / 1, where N is the system size, and λ is the performance coefficient at size 1.

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

Given A and B:
A: λ = 50, σ = 0, k = 0
B: λ = 10, σ = 0, k = 0

Which is more scalable?

A

They are equally scalable, but A performs better.

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

The serial portion of a system (σ) represents what?

A

The contention of the system.

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

Which factor imposes a speed-up limit?

A

Contention factor (σ).

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

The serial work of a system places an effective ceiling on…

A

The maximum achievable throughput.

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

What imposes a limitation on the achievable system size (maximum useful size)?

A

Crosstalk (k)

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

Which factor limits system size?

A

Contention factor (σ).

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

What is the formula that relates throughput with latency?

A

Little’s law. N = X . R, where:

  • N is the mean number of requests in the system.
  • X is the throughput of the system
  • R is the response time (latency)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In a throughput vs latency plot, as the throughput approaches λ/σ, response time tends to…

A

Infinity

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

In a throughput vs latency plot, when we get retrograde scalability, that means the system is…

A

Overloaded. We reached the saturation of the system.

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

Is it common for real systems to get retrograde scalability?

A

No, live systems usually do not reach that point. Real clients tend to leave before the threshold as the system becomes unusable.

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