Grokking the System Design Interview, Volume II
0% completed
Design Reddit: Detailed Component Design
Step 6: Detailed Component Design and Data Management
This step covers how each major part works inside, and how its data is organized. That means the schemas, the partitioning, and how each feature is built.
Key Points
Data model. Posts are records in a sharded NoSQL store, partitioned by a hash of post_id or by subreddit. Comments are adjacency-list items sharded by post_id, so one whole thread lives in one place. Subreddits, users, and their many-to-many subscriptions live in relational tables.
**Voting and scores
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%