Caching System Design Questions
35 design prompts lean on caching. Each one runs on a whiteboard canvas with AI feedback graded against a hidden rubric.
Design problems
URL Shortener
JuniorDesign a URL shortener like TinyURL or Bitly.
Database ScalingLoad Balancing & Scaling
Rate Limiter
JuniorDesign a distributed rate limiter for a company's public APIs.
Consistency & Trade-offsLoad Balancing & Scaling
Pastebin
JuniorDesign a Pastebin-style text snippet sharing service.
Database ScalingLoad Balancing & Scaling
News Feed
Mid/SeniorDesign a social news feed like Instagram's or Facebook's home feed.
Database ScalingQueues & Async Processing
Video Streaming
Mid/SeniorDesign the video playback and delivery system for a streaming service like Netflix or YouTube.
Database ScalingLoad Balancing & Scaling
Distributed Cache
Mid/SeniorDesign a distributed in-memory cache like Redis or Memcached.
Consistency & Trade-offsLoad Balancing & Scaling
Maps & ETA
StaffDesign a maps routing and ETA service like Google Maps.
Database ScalingLoad Balancing & Scaling
Search Autocomplete
Mid/SeniorDesign a search autocomplete (typeahead) service.
Database ScalingLoad Balancing & Scaling
Web Crawler
Mid/SeniorDesign a large-scale distributed web crawler.
Database ScalingQueues & Async Processing
Recommendation System
StaffDesign a personalized recommendation system like Netflix's.
Database ScalingQueues & Async Processing
Fraud Detection
StaffDesign a real-time fraud detection system for payments like Stripe Radar.
Consistency & Trade-offsQueues & Async Processing
Package Tracking
Mid/SeniorDesign a package tracking system like FedEx, UPS, or Amazon's track package feature.
Database ScalingQueues & Async Processing
Hotel Booking
JuniorDesign a hotel room booking system like Booking.com or Expedia.
Consistency & Trade-offsDatabase Scaling
Surge Pricing
Mid/SeniorDesign dynamic surge pricing for a ride-hailing or delivery app like Uber or DoorDash.
Consistency & Trade-offsQueues & Async Processing
Presence Service
JuniorDesign an online presence and last-seen service like WhatsApp or Slack.
Queues & Async Processing
Like Counter
JuniorDesign the like counting system for a social app like Instagram or YouTube.
Consistency & Trade-offsDatabase Scaling
Social Graph
Mid/SeniorDesign the follow graph service for a social network like Twitter or Instagram.
Consistency & Trade-offsDatabase Scaling
Image Hosting
JuniorDesign an image hosting and delivery service like Imgur or Instagram.
Database ScalingQueues & Async Processing
Watch History
JuniorDesign the watch history and continue watching feature for a service like Netflix.
Consistency & Trade-offsDatabase Scaling
Live Streaming
Mid/SeniorDesign a live video broadcasting platform like Twitch or YouTube Live.
Load Balancing & Scaling
Shopping Cart
JuniorDesign the shopping cart service for a retailer like Amazon or Walmart.
Consistency & Trade-offsDatabase Scaling
Product Catalog
Mid/SeniorDesign the product catalog service for a retailer like Walmart or a Shopify store.
Database ScalingQueues & Async Processing
Trending Topics
StaffDesign a trending topics feature like Twitter Trends or Google Trends.
Consistency & Trade-offsQueues & Async Processing
Ad Budget Pacing
Mid/SeniorDesign budget enforcement and pacing for an ad platform like Google Ads or Meta Ads.
Consistency & Trade-offsQueues & Async Processing
Feature Flags
JuniorDesign a feature flag service like LaunchDarkly or Unleash.
Consistency & Trade-offsQueues & Async Processing
Service Discovery
Mid/SeniorDesign a service discovery system like Consul, Eureka, or Kubernetes DNS.
Consistency & Trade-offsLoad Balancing & Scaling
Object Storage
StaffDesign an object storage service like Amazon S3 or Google Cloud Storage.
Consistency & Trade-offsDatabase Scaling
Calendar Scheduling
JuniorDesign a calendar and meeting scheduling service like Google Calendar or Outlook.
Database ScalingQueues & Async Processing
Access Control
Mid/SeniorDesign the access control system for a document sharing product like Google Drive.
Consistency & Trade-offsDatabase Scaling
API Gateway
Mid/SeniorDesign an API gateway like Kong or AWS API Gateway.
Consistency & Trade-offsLoad Balancing & Scaling
Recent Searches
JuniorDesign a recent searches list like the one Amazon or YouTube shows in an empty search box.
Consistency & Trade-offsDatabase Scaling
Product Reviews
JuniorDesign a product ratings and reviews system like the one on Amazon or Yelp.
Consistency & Trade-offsDatabase Scaling
Restaurant Menu
JuniorDesign the restaurant menu service behind a food delivery app like DoorDash or Uber Eats.
Consistency & Trade-offsDatabase Scaling
Package Registry
JuniorDesign a package registry that serves library downloads, like npm or PyPI.
Consistency & Trade-offsDatabase Scaling
Session Store
JuniorDesign the login session store for a large web application like GitHub.
Consistency & Trade-offsDatabase Scaling
Want the pressure version? Any of these can run as a live 45-minute design interview with follow-up questions and a verdict. Set up a design interview