PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/ML System Design/Meta

Design comment ranking for a news feed

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability to design an ML-powered comment-ranking system, testing competencies in personalization, engagement and quality modeling, data and label definition, online serving, and robustness to abuse and latency constraints within the ML System Design domain.

  • medium
  • Meta
  • ML System Design
  • Machine Learning Engineer

Design comment ranking for a news feed

Company: Meta

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: medium

Interview Round: Onsite

Design an ML-powered system to rank comments under posts in a news feed product. ### Requirements - For each feed item (post/story), users can open the comment section and should see an ordered list of comments. - Ranking should be **personalized** (depends on the viewer) and should balance: - relevance/engagement (e.g., likes, replies, dwell time), - quality (avoid spam/toxicity/low-effort), - freshness (new comments can surface), - author/viewer relationships. ### Constraints / considerations - High QPS and strict latency (assume p95 end-to-end budget ~100–200 ms for the comment list). - Support new comments arriving continuously. - Handle abuse (spam, brigading, adversarial behavior), deleted comments, and block lists. - You should describe: data, labels, modeling approach, online serving architecture, evaluation (offline + A/B), and monitoring/guardrails.

Quick Answer: This question evaluates a candidate's ability to design an ML-powered comment-ranking system, testing competencies in personalization, engagement and quality modeling, data and label definition, online serving, and robustness to abuse and latency constraints within the ML System Design domain.

Related Interview Questions

  • Design an Automated Ticket Investigation Agent - Meta (hard)
  • Prevent Private Code Leakage in Coding Agents - Meta (medium)
  • Design Place Recommendation System - Meta (medium)
  • Design a Code Review Agent - Meta (medium)
  • Design a Short-Video Recommendation System - Meta (medium)
Meta logo
Meta
Dec 15, 2025, 12:00 AM
Machine Learning Engineer
Onsite
ML System Design
5
0
Loading...

Design an ML-powered system to rank comments under posts in a news feed product.

Requirements

  • For each feed item (post/story), users can open the comment section and should see an ordered list of comments.
  • Ranking should be personalized (depends on the viewer) and should balance:
    • relevance/engagement (e.g., likes, replies, dwell time),
    • quality (avoid spam/toxicity/low-effort),
    • freshness (new comments can surface),
    • author/viewer relationships.

Constraints / considerations

  • High QPS and strict latency (assume p95 end-to-end budget ~100–200 ms for the comment list).
  • Support new comments arriving continuously.
  • Handle abuse (spam, brigading, adversarial behavior), deleted comments, and block lists.
  • You should describe: data, labels, modeling approach, online serving architecture, evaluation (offline + A/B), and monitoring/guardrails.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Meta•More Machine Learning Engineer•Meta Machine Learning Engineer•Meta 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.