Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Design a Real-Time ML Feature Store

HardSystem Design00:00
Practice interviewer
In session
5 left
00:00

Your question is Design a Real-Time ML Feature Store. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Scenario

You are designing a feature store for a large consumer marketplace that powers multiple ML systems, including search retrieval, ranking, fraud detection, and personalized recommendations. Today, each team computes features separately, causing inconsistent definitions between training and serving, slow experimentation, and frequent training-serving skew. You have been asked to build a shared feature platform that supports both offline training datasets and low-latency online inference. The goal is to make feature computation reusable, fresh, and reliable across models while reducing leakage, drift, and operational overhead.

Scale

SignalValue
DAU45M
Peak inference QPS across ML services220K
Models using the feature store120
Distinct feature definitions8,000
Daily raw events9B
Online feature freshness target< 2 minutes
Per-request feature lookup budget (p99)15ms

Question

How would you design this feature store end to end so that it supports both model training and online serving at this scale? Explain the architecture, data flow, consistency strategy, evaluation approach, and how you would handle drift, skew, backfills, and failures.