Your question is Design Devalore Commerce Recommendations. 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).
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.
| Signal | Value |
|---|---|
| DAU | 18M |
| Peak recommendation QPS | 85K |
| Active catalog | 45M SKUs |
| New or updated SKUs/day | 1.2M |
| Avg recommendation slots/request | 20 |
| End-to-end p99 latency budget | 180ms |
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.
Design the recommendation system and explain the major tradeoffs. Address the following: