Numbers to Remember Flashcards

1
Q

The total number of seconds in a day?

A

1,00,000

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

The average size of one image?

A

100 KB

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

The specs (disk, RAM, cores, threads) for one commodity server?

A

4 TB / 128 GB / 12 CPU cores / 100 Threads
(8 threads per core)

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

Frames per sec (FPS) in a video?

A

24

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

The average video size per minute?
(24 fps, 100 KB frame)

A

100 MB / minute

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

The number of days in 3 years?

A

1000

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

Round Trip Time (RTT) from US West Coast to East Coast?

A

100 msec

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

Round Trip Time (RTT) from US West Coast to Europe?

A

200 msec

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

Round Trip Time (RTT) from US West Coast to India?

A

400 msec

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

The max size of a long URL?

A

2048 bytes

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

The length of the MD5 hash?

A

128 bits

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

The length of the SHA1 hash?

A

160 bits

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

The length of the CRC-8, CRC-16 & CRC-32 checksums?

A

8 bits, 16 bits, 32 bits

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

The time it takes to compute the bcrypt hash and MD5 hash respectively?

A

300 msec, 300 nsec

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

The read and write throughput of SSD?

A

1 GB / sec: Read
100 MB / sec: Write

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

To achieve a 90% cache hit rate what percentage of entries do we need to cache?

A

10%

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

To achieve a 99% cache hit rate what percentage of entries do we need to cache?

A

30%

18
Q

What will be the cache hit rate if 10% of entries are kept in the cache?

A

90%

19
Q

What will be the cache hit rate if 30% of entries are kept in the cache?

A

99%

20
Q

The number of Gmail users?

A

2 Billion

21
Q

The number of Facebook users?

A

3 Billion

22
Q

The number of Instagram users?

A

1 Billion

23
Q

The number of Twitter users?

A

300 Million

24
Q

The number of Whatsapp users?

A

3 Billion

25
Q

The number of Linkedin users?

A

1 Billion

26
Q

The number of Uber users?

A

100 Million

27
Q

The number of Dropbox users?

A

700 Million

28
Q

How much CPU load shall be considered while provisioning?
Why?

A

40%.
It can handle 2x load beyond which autoscaling is required which typically takes some time to come up.

29
Q

What length of Geohash is required to scan a circle of 5 KMs (assuming base 32 Geohash)?

A

5 characters

30
Q

What is the Query per sec (QPS) limit on a commodity server?

A

40,000 / t (in msec)

31
Q

The length of the MurMur3 hash (Cassandra)?

A

64 bit
-2^63 to 2^63+1

32
Q

What is the total number of Amazon India (eCommerce) users and listed products?

A

100M users and 100M products.
100 orders/sec

33
Q

What is the Sequential Read/Write capacity of HDD drives (7200 RPM)?

A

100 MB/sec

34
Q

What is the Sequential Read/Write capacity of SSD drives (SATA 3.0)?

A

500 MB/sec

35
Q

The time it take to read/write from memory?

A

100 nsec

36
Q

Network RTT between two machines (intra-zone)

A

50 usec

37
Q

Size of log for logging one web request

A

1 K

38
Q

Max Round trips b/w two machines (intra-zone)?

A

20K (based on 50 usec latency)

39
Q

Throughput and latency comparison of Kafka and RabbitMQ?

A

Kafka: 200K msgs/sec, 20 msec
RabbitMQ: 25K msgs/sec, 2 msec

40
Q

Unique ID generation: How many bits for timestamp to store 34 years worth of Msec?

A

40 bits