Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Design Devalore Commerce Recommendations

Hard
HardSystem DesignFeature StoreRetrievalRecommendation SystemsAsked 9 times

Problem

Product Context

Devalore Commerce is the company’s e-commerce platform, and the personalized recommendation modules on the home feed, product detail pages, and cart page are key drivers of conversion. Design an end-to-end recommendation system that helps shoppers discover relevant products while balancing relevance, freshness, and business constraints.

Scale

SignalValue
DAU18M
Peak recommendation QPS85K
Active catalog45M SKUs
New or updated SKUs/day1.2M
Avg recommendation slots/request20
End-to-end p99 latency budget180ms

Assume traffic is split across three major surfaces in Devalore Commerce: homepage recommendations, similar items on product detail pages, and cart cross-sell recommendations. Users generate implicit feedback such as impressions, clicks, add-to-cart, purchases, dwell time, and skips. Product metadata includes category, brand, price, discount, seller, inventory, and text/image embeddings computed offline.

Task

Design the recommendation system and explain the major tradeoffs. Address the following:

  1. Clarify the product goals, success metrics, and the differences across homepage, PDP, and cart recommendation surfaces.
  2. Propose a multi-stage architecture for candidate generation, ranking, and re-ranking, including how you would handle cold-start users and new products.
  3. Define the offline training pipeline, feature store strategy, label construction, and how you would avoid training-serving skew.
  4. Describe the online serving architecture, including latency budget allocation, caching, fallback behavior, and capacity planning at peak traffic.
  5. Define an evaluation plan covering offline metrics, online experiments, guardrails, and segment-level analysis.
  6. Identify likely failure modes at scale, including feature drift, stale inventory, popularity bias, and monitoring gaps.

Constraints

  • Recommendations must exclude out-of-stock items and respect user-level blocked brands/sellers.
  • Freshness matters: inventory, price, and promotions can change within minutes.
  • Cost matters: the system should primarily run on CPU online; GPU use should be limited to offline training or a small high-value ranking tier.
  • Compliance: do not use sensitive attributes directly for personalization.
  • The system should degrade gracefully if personalization features are missing or delayed.
Practicing as: Software Engineer interview at Best Buy

Hi, I'll play your Best Buy interviewer for the Software Engineer role. Candidates describe these interviews as mostly positive and on the easier side, so expect me to be friendly and conversational. Take your time with the question above and answer like we're in the room.

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
Simple Tire Software Engineer Interview QuestionsBest Buy Software Engineer Interview QuestionsSimple Tire Interview QuestionsTop 50 Recommendation Systems Interview QuestionsSparksoft Solutions Architect Interview Questions
Next questions
SalesforceDesign Ecommerce Recommendation StackHardAttentiveDesign HA for ML RecommendationsHardSalesforceDesign Cold-Start Product RecommendationsMedium