Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Monitor Drift in Live Ranker

Hard
HardSystem DesignML RankingFeature DriftModel Serving

Problem

Product Context

ShopNow is a large e-commerce marketplace. Its search and recommendation surfaces use a live ranking model to order products for shoppers, and ranking quality directly affects revenue, conversion, and user trust.

Scale

SignalValue
DAU45M
Peak ranking QPS180K
Active product catalog120M SKUs
New/updated items per day8M
Candidates per request5K retrieved  300 ranked  40 re-ranked
End-to-end p99 latency budget150ms
Model retrain cadenceDaily full retrain, hourly feature refresh

Task

Design an end-to-end system for monitoring and responding to drift in a live ranking model. Your design should cover both the ranking stack and the operational loop that detects issues before they materially hurt business metrics.

Address the following:

  1. Define the functional and non-functional requirements for drift monitoring in a multi-stage retrieval  ranking  re-ranking system.
  2. Propose the online and offline architecture, including logging, feature storage, model serving, and how drift signals are computed.
  3. Specify what kinds of drift you would monitor (feature drift, label drift, concept drift, training-serving skew, segment-specific regressions), how you would detect them, and what thresholds or alerting strategy you would use.
  4. Explain how the system should respond when drift is detected: rollback, traffic shifting, retraining, feature disabling, fallback ranking, or human review.
  5. Define an evaluation strategy that combines offline validation, online experiments, and ongoing production monitoring.
  6. Identify key failure modes and mitigations, especially around delayed labels, sparse segments, and false-positive alerts.

Constraints

  • Ranking service must stay within 150ms p99, so monitoring cannot add heavy synchronous overhead.
  • Click and conversion labels are delayed and biased by position/exposure.
  • Some high-value segments are small (e.g., luxury, new users, low-inventory categories), so aggregate metrics may hide regressions.
  • Compliance requires feature lineage and auditable rollback decisions.
  • Infra budget allows only lightweight online checks; most heavy analysis must run asynchronously.
Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Top 50 ML Ranking Interview QuestionsTop 50 Feature Drift Interview Questions
Next questions
SalesforceMonitor Marketplace Ranking After LaunchMediumWalmartDesign Spike-Resilient Product RankingMediumAlpacaMonitor Drift in Ad RankingHard