System Design Patterns
Master common system design patterns used in building scalable distributed systems.
Distributed Cache
Learn how to design a highly available, distributed caching system with consistent hashing, replication, and eviction policies.
URL Shortener
Learn how to design a scalable URL shortening service with high availability, low latency, and analytics capabilities.
Dropbox
Design a cloud storage service like Dropbox with file synchronization and conflict resolution. Covers file storage, real-time sync, version control, and handling petabytes of data with strong consistency requirements.
Google Docs
Design a real-time collaborative document editing system like Google Docs. Covers operational transformation, conflict resolution, real-time synchronization, and handling concurrent edits from multiple users.
Google Maps
Design a global mapping service like Google Maps with navigation, search, and real-time traffic. Covers geospatial indexing, route optimization, traffic data processing, and serving millions of users worldwide.
Design a photo and video sharing social media platform like Instagram with feeds and content discovery. Covers media processing, social feeds, recommendation algorithms, and handling billions of photos and videos.
Job Scheduler
Design a distributed job scheduler with fault tolerance and scalability. Covers job queuing, scheduling algorithms, resource management, and handling millions of jobs with different priorities and dependencies.
Netflix
Design a video streaming platform like Netflix with content delivery, recommendation engine, and global scalability. Covers CDN architecture, video transcoding, recommendation algorithms, and handling millions of concurrent streams with low latency.
Online Auction
Design a real-time online auction platform with bidding and payment processing. Covers real-time bidding, bid validation, auction state management, and handling high-frequency concurrent bids with strong consistency.
Quora
Design a question-and-answer platform like Quora with content ranking and moderation. Covers content discovery, user reputation systems, answer ranking algorithms, and handling millions of questions and answers.
Rate Limiter
Design a high-performance distributed rate limiting system. Covers different rate limiting algorithms, distributed coordination, and handling millions of requests per second with sub-millisecond latency.
Robinhood
Design a commission-free stock trading platform like Robinhood with real-time market data and risk management. Covers trading engine, market data processing, payment systems, and handling millions of concurrent users with sub-second latency.
Slack
Design a team communication platform like Slack with real-time messaging, channels, and collaboration features. Covers real-time messaging, channel management, file sharing, and handling millions of messages with sub-second delivery latency.
Strava
Design a fitness tracking and social networking platform like Strava with activity tracking and leaderboards. Covers GPS data processing, social features, segment matching, and handling millions of athletes with real-time updates.
Ticketmaster
Learn how to design a scalable ticketing system like Ticketmaster. Covers real-time seat allocation, high-demand event handling, distributed locking, and handling millions of concurrent users.
Top K Heavy Hitters
Design a distributed system to track and query Top K items across various time windows with real-time updates. Covers streaming data processing, probabilistic data structures, and handling billions of events with sub-second query latency.
Design a real-time social media platform like Twitter with timeline generation and real-time updates. Covers fan-out patterns, social graphs, real-time messaging, and handling millions of tweets with sub-second latency.
Uber
Design a ride-sharing platform like Uber with real-time matching and location tracking. Covers driver-rider matching, real-time location updates, dynamic pricing, and handling millions of rides with sub-second matching latency.
Web Crawler
Design a distributed web crawler for search engines that can index billions of web pages efficiently and respectfully. Covers URL discovery, content extraction, politeness policies, and handling massive scale crawling with fault tolerance.
Design a messaging platform like WhatsApp with real-time communication and end-to-end encryption. Covers message delivery, group chat management, media sharing, and handling billions of messages with strong security.
Yelp
Design a local business discovery platform like Yelp with search and review systems. Covers geospatial search, business discovery, review management, and handling millions of businesses with real-time recommendations.
YouTube
Design a video sharing platform like YouTube with video processing and content delivery. Covers video upload, transcoding, CDN distribution, recommendation systems, and handling petabytes of video content globally.
Zoom
Design a video conferencing platform like Zoom with screen sharing, recording, and meeting management. Covers WebRTC, media processing, scalability, and handling millions of concurrent video streams.






















