Loading...
Considering a total user base of 10 million users, we can consider DAU as 1 million.
daily each user provides 5 URLs to the system to be shortened.
considering for each URL if we need 1 KB of space to store the tiny URL, the original URL and the time details we can have 1 million * 5 * 1 KB of space required on a daily basis.
We can consider peak load all at once hence 1 million requests per second of peak load.
Explain any trade offs you have made and why you made certain tech choices...
Try to discuss as many failure scenarios/bottlenecks as possible.