Numbers to Remember Flashcards
The total number of seconds in a day?
1,00,000
The average size of one image?
100 KB
The specs (disk, RAM, cores, threads) for one commodity server?
4 TB / 128 GB / 12 CPU cores / 100 Threads
(8 threads per core)
Frames per sec (FPS) in a video?
24
The average video size per minute?
(24 fps, 100 KB frame)
100 MB / minute
The number of days in 3 years?
1000
Round Trip Time (RTT) from US West Coast to East Coast?
100 msec
Round Trip Time (RTT) from US West Coast to Europe?
200 msec
Round Trip Time (RTT) from US West Coast to India?
400 msec
The max size of a long URL?
2048 bytes
The length of the MD5 hash?
128 bits
The length of the SHA1 hash?
160 bits
The length of the CRC-8, CRC-16 & CRC-32 checksums?
8 bits, 16 bits, 32 bits
The time it takes to compute the bcrypt hash and MD5 hash respectively?
300 msec, 300 nsec
The read and write throughput of SSD?
1 GB / sec: Read
100 MB / sec: Write
To achieve a 90% cache hit rate what percentage of entries do we need to cache?
10%
To achieve a 99% cache hit rate what percentage of entries do we need to cache?
30%
What will be the cache hit rate if 10% of entries are kept in the cache?
90%
What will be the cache hit rate if 30% of entries are kept in the cache?
99%
The number of Gmail users?
2 Billion
The number of Facebook users?
3 Billion
The number of Instagram users?
1 Billion
The number of Twitter users?
300 Million
The number of Whatsapp users?
3 Billion
The number of Linkedin users?
1 Billion
The number of Uber users?
100 Million
The number of Dropbox users?
700 Million
How much CPU load shall be considered while provisioning?
Why?
40%.
It can handle 2x load beyond which autoscaling is required which typically takes some time to come up.
What length of Geohash is required to scan a circle of 5 KMs (assuming base 32 Geohash)?
5 characters
What is the Query per sec (QPS) limit on a commodity server?
40,000 / t (in msec)
The length of the MurMur3 hash (Cassandra)?
64 bit
-2^63 to 2^63+1
What is the total number of Amazon India (eCommerce) users and listed products?
100M users and 100M products.
100 orders/sec
What is the Sequential Read/Write capacity of HDD drives (7200 RPM)?
100 MB/sec
What is the Sequential Read/Write capacity of SSD drives (SATA 3.0)?
500 MB/sec
The time it take to read/write from memory?
100 nsec
Network RTT between two machines (intra-zone)
50 usec
Size of log for logging one web request
1 K
Max Round trips b/w two machines (intra-zone)?
20K (based on 50 usec latency)
Throughput and latency comparison of Kafka and RabbitMQ?
Kafka: 200K msgs/sec, 20 msec
RabbitMQ: 25K msgs/sec, 2 msec
Unique ID generation: How many bits for timestamp to store 34 years worth of Msec?
40 bits