Easy system design problems
12 easy problems. Draw the architecture, explain your choices, and see how an interviewer would score it.
| Status | Problem | Topics | Difficulty | Best | Lists |
|---|---|---|---|---|---|
| Design a URL shortener Build a service like bit.ly that turns long URLs into short links and redirects visitors to the original address. | HashingCachingRead-heavy | Easy | |||
| Design Pastebin Let users paste text, get a short link and share it, like Pastebin or GitHub Gist. | Object storageCachingRead-heavy | Easy | |||
| Design a gaming leaderboard Rank millions of players by score in real time and show each player their position, like a mobile game’s global leaderboard. | Sorted setsCachingReal-time | Easy | |||
| Design an image hosting service Let users upload images, share them by link and view them in several sizes, like Imgur. | Object storageCDNUploads | Easy | |||
| Design a parking garage reservation system Let drivers find and reserve spots in parking garages ahead of time and pay for them. | ReservationsConsistencySQL | Easy | |||
| Design an online polling app Let anyone create a poll, share the link and watch votes come in live, like Strawpoll. | CountersQueuesSpikes | Easy | |||
| Design a view and like counter Count views and likes on posts and videos at huge scale and show the totals wherever they appear. | CountersBatchingEventual consistency | Easy | |||
| Design a weather API Serve current weather and forecasts for any location to millions of apps, using data bought from upstream providers. | CachingThird-party dataRead-heavy | Easy | |||
| Design a comment system Add threaded comments to any web page, with replies, likes and moderation, like Disqus. | ThreadsModerationRead-heavy | Easy | |||
| Design a website uptime monitor Check websites every minute from several regions and alert owners the moment one goes down, like UptimeRobot. | SchedulingWorkersAlerts | Easy | |||
| Design a feature flag service Let teams turn features on or off and roll them out to a percentage of users without deploying, like LaunchDarkly. | ConfigurationCachingPush | Easy | |||
| Scenario: the database is at 95% CPU A product catalogue API runs on one MySQL server. Traffic has grown to 30,000 reads a second, database CPU sits at 95% and p99 latency has climbed from 50 ms to 2 seconds. Bring latency back down, and keep it down as traffic doubles. | ScenarioRead scalingCaching | Easy |