Blog comment system
Your task
Design a basic comment system for a blog. Each article can have comments, comments can have one level of replies (a reply to a top-level comment), and the article page shows comments newest-first with pagination. The site is read-heavy, many more views than new comments. Cover the data model, how you load comments for a page, and how you'd keep the read path fast.
It covers
- Threading
- Pagination