PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/ML System Design/Reddit

Design comment ranking

Last updated: Mar 29, 2026

Quick Overview

This question evaluates competency in designing large-scale machine learning ranking systems, testing skills such as candidate generation, label and training data strategy, feature engineering across comments/users/posts/viewer context, model architecture and serving, and operational constraints like freshness, cold start, moderation, latency, and reliability. Commonly asked in ML system design interviews, it measures the ability to balance product goals (usefulness and engagement) with constraints and trade-offs; the domain is machine learning system design and it requires both conceptual understanding and practical application.

  • hard
  • Reddit
  • ML System Design
  • Machine Learning Engineer

Design comment ranking

Company: Reddit

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Onsite

Design a large-scale ranking system for ordering comments under a post on a community platform similar to Reddit. When a user opens a post, the system should rank comments to maximize usefulness and engagement while demoting spam, abuse, repetitive content, and low-quality replies. Your design should cover: - product goals and ranking objectives - candidate generation for very large threads - labels and training data - feature engineering for comments, users, posts, and viewer context - model architecture and online/offline serving - freshness, cold start, and moderation constraints - experimentation, metrics, and feedback loops - latency, reliability, and fallback behavior

Quick Answer: This question evaluates competency in designing large-scale machine learning ranking systems, testing skills such as candidate generation, label and training data strategy, feature engineering across comments/users/posts/viewer context, model architecture and serving, and operational constraints like freshness, cold start, moderation, latency, and reliability. Commonly asked in ML system design interviews, it measures the ability to balance product goals (usefulness and engagement) with constraints and trade-offs; the domain is machine learning system design and it requires both conceptual understanding and practical application.

Related Interview Questions

  • Design a video recommendation system - Reddit (medium)
  • Design comment-likelihood prediction platform - Reddit (medium)
  • Design a feature store with CI/CD and reliability - Reddit (hard)
Reddit logo
Reddit
Mar 2, 2026, 12:00 AM
Machine Learning Engineer
Onsite
ML System Design
11
0
Loading...

Design a large-scale ranking system for ordering comments under a post on a community platform similar to Reddit.

When a user opens a post, the system should rank comments to maximize usefulness and engagement while demoting spam, abuse, repetitive content, and low-quality replies. Your design should cover:

  • product goals and ranking objectives
  • candidate generation for very large threads
  • labels and training data
  • feature engineering for comments, users, posts, and viewer context
  • model architecture and online/offline serving
  • freshness, cold start, and moderation constraints
  • experimentation, metrics, and feedback loops
  • latency, reliability, and fallback behavior

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Reddit•More Machine Learning Engineer•Reddit Machine Learning Engineer•Reddit ML System Design•Machine Learning Engineer ML System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.