01Terminology GlossaryInterview terminology glossary: definitions and examples for 47 topics, with an indexStart with Terminology Glossary →
Blueprints · 20 designs
System design, one slide at a time
This series explains common system design questions. Each file covers one architecture. Each file contains diagrams, components, data flow, trade-offs, and interview follow-up questions.
- 01Tech Interview Terminology GlossaryInterview terminology glossary: definitions and examples for 47 topics, with an index
- 02Design a Real-Time Chat Service (WhatsApp)Real-time chat service with low delivery latency4 diagrams
- 03Design a Video Streaming Platform (YouTube)Video upload, processing, and streaming platform4 diagrams
- 04Design Methods for Low-Latency Distributed SystemsDesign methods for low-latency distributed systems3 diagrams
- 05Design for Message Order in QueuesMessage order and correct processing in queues4 diagrams
- 06Design a URL Shortener (TinyURL, Bitly)URL shortener service2 diagrams
- 07Design a Distributed Rate LimiterDistributed rate limiter2 diagrams
- 08Design a Notification SystemMulti-channel notification system1 diagram
- 09Design a News Feed (Facebook, Instagram, X)Social media news feed1 diagram
- 10Design Offline Messaging (Message Delivery During Network Failure)Message delivery during network failure (offline-first, store and forward)6 diagrams
- 11Circuit Breaker PatternCircuit breaker pattern and related resilience patterns5 diagrams
- 12Design Self-Healing (Auto-Healing) InfrastructureSelf-healing (auto-healing) infrastructure6 diagrams
- 13Design a Scalable and Cost-Effective System for 5 Million UsersScalable and cost-effective architecture for 5 million users5 diagrams
- 14Design an Elastic System That Scales up to 5 Million Requests Without BreakingElastic system that scales up and down to 5 million requests without breaking9 diagrams
- 15How End-to-End Encryption Works (WhatsApp and the Signal Protocol)End-to-end encryption (Signal Protocol, as used by WhatsApp)10 diagrams
- 16Design a Large Real-Time Dashboard in ReactLarge real-time dashboard in React that stays stable under constant updates6 diagrams
- 17Transfer a Large File from a Fast Server to a Slow ServerTransfer a large file from a fast server to a slow server6 diagrams
- 18Design a Ride-Hailing Service (Uber, Ola)Ride-hailing service (Uber, Ola)6 diagrams
- 19Design a Ticket Booking System (BookMyShow)Ticket booking system (BookMyShow)4 diagrams
- 20Design a Distributed Unique ID GeneratorDistributed unique ID generator (Snowflake)5 diagrams
Other frequently asked questions
Use the same method to prepare for these questions:
- Distributed cache (Redis, Memcached). Consistent hashing, eviction, replication.
- Search autocomplete. Trie, top-K queries, prefix cache.
- Payment system. Idempotency keys, ledger, reconciliation, exactly-once effect.
- Collaborative editor (Google Docs). Operational transformation (OT) or CRDT.
- Web crawler. URL frontier, politeness, duplicate detection.
- File storage and sync (Dropbox, Google Drive). Chunking, deduplication, sync conflicts.
- Leaderboard. Redis sorted sets, sharded counters.
A standard method for each interview answer
Use these steps in each interview:
- Ask questions to find the functional requirements.
- Write the non-functional requirements (latency, availability, scale).
- Calculate the approximate load (users, requests per second, storage).
- Draw the high-level architecture.
- Define the APIs and the data model.
- Explain the main data flow.
- Find the bottlenecks. Explain how to scale each one.
- Explain the trade-offs that you made.