PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/ML System Design/Pinterest

Design a real-time home feed ranker

Last updated: Mar 29, 2026

Quick Overview

This question evaluates an engineer's ability to design scalable, low-latency real-time recommendation and ranking systems that integrate personalization, streaming engagement signals, candidate generation and ranking, feature pipelines, model training, and operational concerns such as reliability and integrity against manipulation.

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

Design a real-time home feed ranker

Company: Pinterest

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Onsite

## Scenario Design a **real-time home feed** (e.g., social or content platform) that is **responsive to user engagement**. Users open the app and see a ranked list of posts/items. As they engage (click/like/comment/dwell), the feed should adapt quickly. ## Task Design the end-to-end system including: 1. **Candidate generation** and **ranking**. 2. Incorporating **real-time engagement signals** (both the viewer’s actions and global engagement). 3. Storage, services, and streaming/infra components needed to meet latency and scale. 4. Model training, feature pipelines (offline/online), evaluation, and experimentation. ## Requirements (state assumptions if needed) - **Latency:** low p95 end-to-end feed response. - **Freshness:** newly published items can appear quickly. - **Personalization:** based on user history + session context. - **Reliability:** graceful degradation if real-time components fail. - **Integrity:** prevent spam/manipulation; handle feedback loops.

Quick Answer: This question evaluates an engineer's ability to design scalable, low-latency real-time recommendation and ranking systems that integrate personalization, streaming engagement signals, candidate generation and ranking, feature pipelines, model training, and operational concerns such as reliability and integrity against manipulation.

Related Interview Questions

  • Design notification and feed recommenders - Pinterest
  • Design Detection Systems for Risk and Safety - Pinterest (medium)
  • Design an unsafe content detection system - Pinterest (hard)
  • Design an ads system to improve CTR - Pinterest (hard)
  • Design Pin recommendation system - Pinterest (hard)
Pinterest logo
Pinterest
Jan 12, 2026, 12:00 AM
Machine Learning Engineer
Onsite
ML System Design
8
0
Loading...

Scenario

Design a real-time home feed (e.g., social or content platform) that is responsive to user engagement.

Users open the app and see a ranked list of posts/items. As they engage (click/like/comment/dwell), the feed should adapt quickly.

Task

Design the end-to-end system including:

  1. Candidate generation and ranking .
  2. Incorporating real-time engagement signals (both the viewer’s actions and global engagement).
  3. Storage, services, and streaming/infra components needed to meet latency and scale.
  4. Model training, feature pipelines (offline/online), evaluation, and experimentation.

Requirements (state assumptions if needed)

  • Latency: low p95 end-to-end feed response.
  • Freshness: newly published items can appear quickly.
  • Personalization: based on user history + session context.
  • Reliability: graceful degradation if real-time components fail.
  • Integrity: prevent spam/manipulation; handle feedback loops.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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