ScaleCrafts

Easy system design problems

12 easy problems. Draw the architecture, explain your choices, and see how an interviewer would score it.

12 problems
StatusProblemTopicsDifficultyBestLists
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-heavyEasy
Design Pastebin

Let users paste text, get a short link and share it, like Pastebin or GitHub Gist.

Object storageCachingRead-heavyEasy
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-timeEasy
Design an image hosting service

Let users upload images, share them by link and view them in several sizes, like Imgur.

Object storageCDNUploadsEasy
Design a parking garage reservation system

Let drivers find and reserve spots in parking garages ahead of time and pay for them.

ReservationsConsistencySQLEasy
Design an online polling app

Let anyone create a poll, share the link and watch votes come in live, like Strawpoll.

CountersQueuesSpikesEasy
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 consistencyEasy
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-heavyEasy
Design a comment system

Add threaded comments to any web page, with replies, likes and moderation, like Disqus.

ThreadsModerationRead-heavyEasy
Design a website uptime monitor

Check websites every minute from several regions and alert owners the moment one goes down, like UptimeRobot.

SchedulingWorkersAlertsEasy
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.

ConfigurationCachingPushEasy
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 scalingCachingEasy