Grokking the System Design Interview, Volume II
0% completed
Step 3: Capacity Estimation
The catalog is small and the history is enormous. That imbalance decides most of the architecture, and the estimates below show its size.
Summary.
- Users: about 200 million registered and 100 million daily active users. User data must be sharded by user ID, which means split across servers by that key.
- Catalog: up to 100,000 titles, a few GB of metadata. It fits in memory on every server.
- Watch history: about 10 billion watch records, several terabytes. Recent history stays in a fast store, and older history moves to cheap storage.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%