Back-of-the-envelope Calc Flashcards

1
Q

Why do we use back if the envelope calculations?

A

Allows us to ignore nitty gritty details of system design to focus on important aspects. A distributed system has compute notes connected via network, and there is a wide variability of available compute nodes and they can be connected in many different ways.

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

Examples of BOTE calculations:

A
  1. Nb of TCP connections a server can support
  2. Nb if requests per second (RPS) a web, database or cache server can support
  3. Storage requirements of a service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens if we choose an unreasonable BOTE calculation?

A

Flawed design

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

What are the relevant concepts for BOTE calculations?

A
  1. Types of data center servers
  2. Realistic access latencies of different components
  3. Estimation of RPS that a server can handle
  4. Examples of bandwidth, servers and storage estimations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the commonly used data center server types?

A
  1. Web server
  2. Application server
  3. Storage server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are characteristics of a web server?

A

Low RAM, high processor and low HD

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

What are characteristics of application server?

A
  1. High RAM, medium processor and medium HD
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the characteristics of storage server?

A

Low RAM, medium processor, high HD

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

What are web servers?

A

First point of contact after load balancers, and are decoupled from application servers. Usually handle API calls from clients.

2011 example: Facebook has

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