Moloco·Software Engineer·Onsite - System Design / Architecture
Jul 2026
System design round at Molocoads for a software engineer role, centered entirely on building an autocomplete service at scale. Pretty deep dive, they wanted opinions on everything from cache layers to update pipelines, not just a high-level sketch.
- Design a large-scale autocomplete service that returns the top 5 query suggestions within 100ms as a user types, ranked by popularity and recent trends.
- How would you design the API for an autocomplete service, and what does the data model look like underneath it?
- How would you handle sharding and hot prefixes in a high-traffic autocomplete system?
- Walk through your cache design for this system, including what you cache, at what layer, and how you handle invalidation.
- Describe the offline and online pipelines you'd build to keep autocomplete suggestions fresh and updated from new search logs.
“This is a meaty one and I underestimated how many sub-problems were hiding inside it.” The rest of the author's notes on Software Engineer interview at Moloco, Onsite - System Design / Architecture round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post