Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
In the "Memory estimates" section, at the end of "4. Capacity Estimation and Con...

Brian Sunbury

Jul 21, 2022

In the "Memory estimates" section, at the end of "4. Capacity Estimation and Constraints", it states "Since we have 5M read requests per day, to cache 20% of these requests, we would need: 0.2 * 5M * 10KB ~= 10 GB". But wouldn't we be caching the 1M pastes instead of the 5M reads? Your clarification is greatly appreciated.

0

0

Comments
Comments
Design Gurus
Design Gurus3 years ago

Each read request means reading a paste. When we say we will cache 1M reads, this means, we will cache 1M pastes.