System Design Problems
Browse 8 curated problems from top tech companies
Design a Distributed Lock Service
hardDesign a distributed lock service like Apache ZooKeeper or etcd for coordinating distributed systems.
45 min
ConsensusDistributed LockingLeader ElectionFault Tolerance
Design a Real-time Gaming Leaderboard
hardDesign a real-time leaderboard system for a multiplayer online game with millions of concurrent players. The system should handle score updates, rankings, and friend comparisons.
45 min
RedisSorted SetsReal-timeGaming
Design a Stock Trading System
expertDesign a high-frequency stock trading platform handling order matching, real-time price updates, and trade execution with microsecond latency.
45 min
Low LatencyOrder MatchingFIFO QueueFinancial
Design a Distributed Task Scheduler
hardDesign a distributed task scheduler like Apache Airflow or Temporal that can handle millions of scheduled jobs with dependencies.
45 min
DAGTask QueueSchedulingFault Tolerance
Design Uber Ride-Sharing Platform
hardDesign a ride-sharing application matching drivers with passengers, handling real-time location tracking, fare calculation, and payments.
45 min
Design a URL Shortening Service
mediumDesign a system like bit.ly that converts long URLs into short, memorable links. The system should handle billions of URLs with high availability and low latency.
45 min
url-shortenerdistributed-systemscachingscalability
Design a Large-Scale System Migration
expertDesign a strategy to migrate a monolithic system serving 10M users to microservices with zero downtime.
60 min
migrationmonolithmicroservicesstrangler-fig
CAP Theorem Explained
easyExplain the CAP theorem and its implications for distributed system design.
45 min
distributed-systemstheorydatabases