This question evaluates a candidate's expertise in designing scalable, personalized restaurant search and recommendation systems, including system architecture, recommendation model design, LLM integration points, API and service boundaries, data storage and online/offline pipeline trade-offs, and operational concerns like latency, reliability, and evaluation metrics. It is commonly asked in system design interviews for machine learning engineering roles to probe practical, application-level skills in recommendation systems and real-time search, emphasizing applied architectural reasoning and engineering trade-offs rather than purely conceptual theory.
You are designing a DoorDash-like personalized restaurant recommendation system.
A user types a free-text query (e.g., “spicy ramen under $20”, “healthy vegetarian lunch”, “best burgers near me”). The system should return a ranked list of restaurants (optionally with dishes) personalized to the user.