Lesson 2 · Unit 01
Back-of-envelope
Turn users into requests per second and bytes per year
What you practise
- Powers of ten, a day is about 10⁵ seconds, users to requests per second, storage per year, bandwidth, peak vs average, latency numbers worth knowing
Try a question from this lesson
Pick one
A service handles 100 million requests a day. Roughly how many is that per second?
Hint
Work out roughly how many seconds a day has, as a power of ten.
Correct answer
About 1,000
Why
A day is 86,400 seconds, close to 100,000. 100 million / 100 thousand = 1,000 (exactly: 1,157). An estimate only needs the right power of ten, because that is what decides between one server and fifty.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
A day is about 10⁵ seconds
Round a day to 100,000 seconds and the division is done in your head: 1 million a day is about 10 per second, 1 billion a day about 10,000.
For sizes, each step is a thousand: KB, MB, GB, TB, PB. A million 1 KB records is 1 GB.
Round hard and keep the units next to every number.
DAY = 24 * 60 * 60
print(DAY) # 86400
print(1_000_000 // DAY) # 11 per second10 more exercises in the app
- 4× type the answer
- 2× multiple choice
- 1× fill the blanks
- 1× match the pairs
- 1× true or false
- 1× order the lines
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.