Blueprint — system design

Types · drag to reorder

Design a comment system

Design the comments under an article: people post comments, reply one level deep, and read the newest twenty first. Voting and ranking are out of scope.

Requirements
  • Post a comment or a reply on an article
  • Load the newest twenty comments for an article
  • Comments are read far more often than they are written
  • A comment can be hidden by moderation
Scale
Articles
5M
New comments
20M per day
Read:write ratio
50:1
Page size
20 comments

Draw the design on the board, fill in Your answer, then submit.

Loading board

Loading board