Design The Personalized Home Feed For First Time Online Shoppers
Last updated: November 29, 2026
Quick Overview
Design the ranking system behind a marketplace home feed that serves well over 100 million monthly users browsing a long-tail catalog of tens of millions of unbranded products, many with weak titles and attributes, where a large share of users are new with little history.
Meesho
November 29, 20260
0
0 solved
Design the ranking system behind a marketplace home feed that serves well over 100 million monthly users browsing a long-tail catalog of tens of millions of unbranded products, many with weak titles and attributes, where a large share of users are new with little history.
The home feed is where most Meesho sessions start, and the catalog is huge, visual and noisy, while many users are new to online shopping and arrive with almost no history. The interviewer probes candidate generation, cold start for users and products, the objective you optimise, and serving within a tight latency budget on cost-sensitive infrastructure.
What the Interviewer Expects
- Defines an objective beyond clicks (orders, net of returns and RTO)
- Uses multi-source candidate generation with embeddings from images and text
- Addresses user cold start with context and fast session signals
- Addresses new product cold start with exploration
- Designs serving within a strict latency budget with caching
- Plans offline and online evaluation and guards against feedback loops
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you stop the feed from filling with the cheapest clickbait thumbnails that get returned?
- How would you blend ads and organic results?
- Which features would you compute in real time versus daily?
- How would you make the system cheaper to run by 30%?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Goal: maximise net orders per session (orders not returned or refused) while keeping catalog diversity and new-supplier exposure. Constraints: feed API p95 under about 100 ms server side, low-end devi...
High-Level Design
- Candidate generation (a few thousand items): two-tower model (user tower from recent sessions, location, language, device price band; item tower from image and text embeddings, price and catego...