Stop 15 · Responsible ML, Portfolio & InterviewsTopics · 7/10

ML System Design Interviews

Part of the Machine Learning Roadmap

In short

'Design a recommendation system for a food app.' There's no single right answer. They want to see you think through data, features, model, serving and monitoring in a sensible order.

ML system design rounds ask you to design a full system, like a feed ranker or fraud detector: framing, data, features, model choice, evaluation, serving and monitoring. A clear structure matters more than naming fancy models.

The mascot holds a clipboard and directs two helpers carrying a big pot towards serving counters.

Think of it like this

Catering a big wedding

Cooking for your family and catering a 1,000-guest wedding are different problems. The caterer plans the menu, sources ingredients, preps ahead, keeps food hot at counters and watches which dish runs out. ML system design asks you to plan at that scale.

Watch it happen

Designing 'recommended dishes'

Requirements
Data
Features
Model
Serving
Monitoring

1/6Clarify the goal (more orders? more repeat users?), the scale, and how fast results must load.

The big ideas

What you need to know

Requirements before models

Ask about the goal, users, scale and latency first. It shapes every later choice.

Simple baseline first

'Most popular nearby' is a real baseline. Your model must beat it in an A/B test.

Candidates, then ranking

A cheap step narrows millions of items to hundreds; a heavier model ranks those.

Plan for life after launch

Monitoring, retraining, feedback loops and cold start are part of the design.

Save yourself the pain

Common mistakes

Oops

Jumping straight to 'I'd use a deep neural network'.

Do this instead

Start with requirements and a baseline, then justify each step up in complexity.

Oops

Ignoring serving: latency, cost and what happens when the model fails.

Do this instead

Talk about precomputation, caching, fallbacks like 'popular items', and monitoring.

Your mission

Design one system in 35 minutes

~40 min

Quick check

Why do many recommendation systems use candidate generation followed by ranking?

Go deeper

  1. 1Learn a fixed structure: clarify, metrics, data, features, model, serving, monitoring.
  2. 2Practise designing a food delivery ETA predictor and a product recommender.
  3. 3Read 'Designing Machine Learning Systems' by Chip Huyen.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge