System Design Solutions
Explore real-world system design problems and their solutions. Each design includes architecture diagrams, scalability considerations, and trade-off analysis.
Chat System
Build a real-time messaging platform with scalability and reliability
WebSocketsMessage QueuesScalability
Upgrade to UnlockSocial Media Feed
Create a high-performance feed system for millions of users
CachingRanking AlgorithmsScalability
Upgrade to UnlockLive Comments
Build a real-time comments system for live events
WebSocketsReal-time UpdatesScaling
Upgrade to UnlockGoogle Drive
Design a cloud storage platform with file synchronization
File StorageSync AlgorithmsConflict Resolution
Upgrade to UnlockCalendar System
Design a shared calendar platform with registration, scheduling, and cross-user availability.
RegistrationSchedulingAvailability
Upgrade to UnlockGame Leaderboard
Build a real-time leaderboard system for gaming platforms
RankingReal-time UpdatesCaching
Upgrade to UnlockFood Delivery
Design a complete food delivery platform like DoorDash
GeolocationReal-time TrackingPayment Systems
Upgrade to UnlockPayment System
Build a secure payment processing system
SecurityTransactionsCompliance
Upgrade to UnlockTicketmaster
Design a ticket booking system with millions of concurrent users
ConcurrencyInventory ManagementScalability
Upgrade to UnlockWeb Crawler
Design a distributed web crawler for search indexing
Distributed SystemsCrawling StrategyData Processing
Upgrade to UnlockDesign Siri
Build a voice assistant system with NLU and command execution
Speech RecognitionNLPReal-time Processing
Upgrade to UnlockDesign a Shopping Cart
Eight-step walkthrough covering cart state, inventory reservations, pricing, checkout consistency, and scaling.
Cart StateInventoryCheckout
Upgrade to UnlockIoT (Internet-of-Things) Log Processing Platform
Architecture for ingesting, processing, and analyzing logs from millions of connected devices.
IoT IngestionStream ProcessingObservability
Upgrade to UnlockComing Soon
Google News
Placeholder for a personalized global news aggregation system with ingestion, ranking, and deduplication.
RankingPersonalizationNews Ingestion
Coming Soon
Metrics Monitoring and Reporting System
Placeholder for a high-throughput observability platform with time-series metrics, alerting, and reporting.
Time SeriesAlertingAggregation
Coming Soon
Real-Time Messaging System
Placeholder for a low-latency messaging platform with presence, delivery guarantees, and offline support.
WebSocketsPresenceDelivery
Coming Soon
Auction System
Placeholder for a real-time auction platform with concurrent bidding, winner selection, and settlement.
ConcurrencyBiddingPayments
Coming Soon
Hotel Reservation System like Kayak/Expedia
Placeholder for a hotel search, availability, pricing, reservation, and cancellation platform.
SearchInventoryReservations
Coming Soon
Real-Time Gaming Leaderboard
Placeholder for a globally distributed leaderboard with real-time score updates and ranking queries.
RankingReal-time UpdatesCaching
Coming Soon
Google Maps
Placeholder for a mapping platform with geospatial indexing, routing, tiles, and location search.
Geospatial DataRoutingTile Serving
Coming Soon
Search Auto-Complete
Placeholder for a low-latency typeahead service with ranking, personalization, and scalable prefix search.
Prefix SearchRankingCaching
Durable Event Writer
Design for thread-safe batching, durable writes, backpressure, and crash recovery.
ConcurrencyDurabilityBatching
Upgrade to UnlockComing Soon
Persistent Sharded LRU Cache
Placeholder for a persistent single-machine cache.
CachingConcurrencyPersistence
Bookstore Search and Price Aggregation
Resilient bookstore search and price aggregation across external catalog providers.
SearchAggregationResilience
Upgrade to UnlockOnline Bookstore Order System
Order workflow for inventory reservation, idempotent checkout, payment, and recovery.
OrdersInventoryIdempotency
Upgrade to UnlockComing Soon
Music Playlist Service
Placeholder for a collaborative playlist service.
CollaborationOrderingSharing
Coming Soon
Stock-Order Manager
Placeholder for deadlines, reconciliation, retries, and external side effects.
RetriesReconciliationConsistency
Distributed Job Scheduler
Design a durable scheduler for dependency-aware jobs, worker leases, retries, and failure recovery.
SchedulingWorkersDurability
Upgrade to UnlockDistributed File System
Metadata, block storage, replication, durability, and recovery for a distributed file system.
StorageReplicationRecovery
Upgrade to UnlockMulti-Tenant Event Ingestion Platform
Detailed design for high-throughput event ingestion, validation, replay, and delivery.
KafkaMulti-tenancyReplay
Upgrade to UnlockDistributed Message Queue
Detailed design for durable messaging, delivery, ordering, and consumer coordination.
MessagingOrderingDurability
Upgrade to UnlockDonation System
Detailed design for payments, ledgers, reconciliation, and live campaign totals.
PaymentsLedgerReconciliation
Upgrade to UnlockLarge-Scale ETL and Streaming Pipeline
An 8-step system design walkthrough for high-throughput ingestion, stream processing, lakehouse storage, and serving.
ETLStreamingKafka
Upgrade to UnlockMulti-Tenant Data Lifecycle Management Platform
Detailed design for tenant-scoped retention, safe deletion, data-loss detection, and verified recovery.
Multi-tenancyRetentionRecovery
Upgrade to UnlockZero-Trust Access Platform
Design an identity-aware access platform that continuously evaluates users, devices, workloads, and risk.
IdentityPolicy EvaluationDevice Posture
Upgrade to UnlockNotifications Platform
Design a multi-channel notification service with preferences, reliable delivery, retries, and provider failover.
Event StreamingFan-outDelivery Guarantees
Upgrade to UnlockLearning Path
Start with fundamental concepts in the System Design Basics course, then explore these solutions to see how those concepts are applied in real-world systems.
Go to System Design Basics