NALSD - Non-Abstract Large Sytem Design Flashcards
1
Q
Power of two, 1KB?
A
1KB = 2^10 Bytes
2
Q
Power of two, 64KB?
A
64KB = 2^16 Bytes
3
Q
Power of two, 1MB?
A
1MB = 2^20 Bytes
4
Q
Power of two, 1GB?
A
1GB = 2^30 Bytes
5
Q
Power of two, 1TB?
A
1TB = 2^40 Bytes
6
Q
Power of two, 4GB?
A
4GB = 2^32 Bytes
7
Q
Time L1 cache reference?
A
0’5ns
8
Q
Time Branch mispredict?
A
5ns
9
Q
Time L2 cache reference?
A
7ns (14x L1)
10
Q
Time Mutex lock/unlock?
A
100ns (20x L2, 200x L1)
11
Q
Time compress 1KB with Zippy?
A
10.000ns = 10us
12
Q
Time send 1KB over a Gbit network?
A
10.000ns = 10us
13
Q
Time read 4KB randomly from SSD?
A
150.000ns = 150us
14
Q
Speed Round trips within same data center?
A
500.000ns = 500us
15
Q
Time to read 1MB sequentially, from memory?
A
250.000ns = 250us