Problems
Start with fundamentals, then work up to distributed systems.
All levels
Easy
Medium
Hard
0 of 62 completed
All categories
Fundamentals and estimation
APIs and application architecture
Caching
Messaging and event-driven systems
Distributed systems
Databases and storage
Observability and operations
Security and data protection
Scalability and reliability
005
Design a Distributed Message Queue
Build a durable, partitioned queue with at-least-once delivery.
Distributed systems
Hard
PRO
006
Design a Payment Ledger
Record money movements with strict correctness and a full audit trail.
Databases and storage
Hard
PRO
053
Design Ride-Hailing Dispatch
Match riders to nearby drivers within seconds while tracking live locations, pricing surges and every trip's state.
Distributed systems
Hard
PRO
054
Design Flash-Sale Ticketing
Sell 50,000 concert seats to 2 million fans in minutes, fairly and without ever selling a seat twice.
Scalability and reliability
Hard
PRO
055
Design a Collaborative Document Editor
Let many people edit the same document at once, see each other's cursors, work offline and browse version history.
Distributed systems
Hard
PRO
056
Design Live Video Streaming
Broadcast live streams to 5 million concurrent viewers less than 5 seconds behind real time, with live chat.
Scalability and reliability
Hard
PRO
057
Design a Stock Exchange Matching Engine
Match buy and sell orders fairly in strict arrival order with microsecond latency, and publish market data to every participant.
Distributed systems
Hard
PRO
058
Design a Multi-Region Active-Active Store
Keep 300 million user profiles readable and writable in three regions at once, surviving the loss of a whole region.
Scalability and reliability
Hard
PRO
059
Design Real-Time Fraud Detection
Score every card transaction for fraud within the authorisation window using rules, live features and machine learning.
Security and data protection
Hard
PRO
060
Design a Petabyte Logging Platform
Ingest 5 GB/s of logs from every team, keep 7 days searchable in seconds and a year in cheap storage, with fair per-team quotas.
Observability and operations
Hard
PRO
061
Design a Durable Workflow Engine
Run long-lived business workflows that survive crashes, with retries, durable timers, exactly-once step effects and full history.
Messaging and event-driven systems
Hard
PRO
062
Design an Object Storage Service
Build an S3-like service storing trillions of objects with 11 nines of durability, multipart uploads and cross-region replication.
Databases and storage
Hard
PRO