Welcome to your interview.
The question is on your right: Design Privacy-Constrained Multi-Tenant Recommender. Take a moment with it first.
Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes). Discussion and graded submissions share your five interviewer interactions, so spend them well.
AtlasRec provides a recommendations platform for enterprise customers. Each tenant is a separate retailer or media app that wants personalized recommendations on its website and mobile app, but tenant data cannot leak across customers and some tenants require all data storage, training, and serving to stay within a specific region.
| Signal | Value |
|---|---|
| Tenants | 1,200 total; 150 large, 1,050 SMB |
| Total DAU | 90M across all tenants |
| Peak recommendation QPS | 220K global |
| Largest tenant peak QPS | 18K |
| Catalog size | 600M items total; largest tenant 80M |
| New interaction events/day | 9B |
| Per-request latency budget (p99) | 180ms |
| Residency regions | US, EU, India, Singapore |
Design an end-to-end multi-tenant recommendations service that satisfies strict privacy and data residency constraints. Address the following: