Design a Read-Through Cache for Google Play App Details Pages
Last updated: November 29, 2026
Quick Overview
Design caching for the Google Play app details page data (title, ratings summary, screenshots, price, compatibility) so the page loads fast for billions of views while developers' updates show up within minutes.
0
0
0 solved
Design caching for the Google Play app details page data (title, ratings summary, screenshots, price, compatibility) so the page loads fast for billions of views while developers' updates show up within minutes.
A straightforward caching question grounded in a high-traffic Google product. The interviewer checks layering (edge, service cache, database), what can and cannot be cached for everyone, and how updates propagate.
What the Interviewer Expects
- Split shared data from per-user data such as install state and price in local currency
- Use read-through caching with TTL plus explicit invalidation on publish
- Choose cache keys that include locale and country
- Protect the database from cache misses after a deploy or flush
- Measure hit rate and staleness
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle prices that differ by country and promotions?
- What happens when a developer publishes an update?
- Where would you cache ratings, which change constantly?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Page data per (app, locale, country): listing text, screenshots, version, aggregated rating, price.
- Very read-heavy: millions of views per minute for popular apps; writes when developers publish. ...
High-Level Design
Client calls the details API. The API service checks an in-memory regional cache keyed by app_id:locale:country. On miss, it loads from the listing database and the ratings aggregate service, bu...