01Terminology GlossaryInterview terminology glossary: definitions and examples for 47 topics, with an index

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.

Start with Terminology Glossary
  1. 01Tech Interview Terminology GlossaryInterview terminology glossary: definitions and examples for 47 topics, with an index
  2. 02Design a Real-Time Chat Service (WhatsApp)Real-time chat service with low delivery latency4 diagrams
  3. 03Design a Video Streaming Platform (YouTube)Video upload, processing, and streaming platform4 diagrams
  4. 04Design Methods for Low-Latency Distributed SystemsDesign methods for low-latency distributed systems3 diagrams
  5. 05Design for Message Order in QueuesMessage order and correct processing in queues4 diagrams
  6. 06Design a URL Shortener (TinyURL, Bitly)URL shortener service2 diagrams
  7. 07Design a Distributed Rate LimiterDistributed rate limiter2 diagrams
  8. 08Design a Notification SystemMulti-channel notification system1 diagram
  9. 09Design a News Feed (Facebook, Instagram, X)Social media news feed1 diagram
  10. 10Design Offline Messaging (Message Delivery During Network Failure)Message delivery during network failure (offline-first, store and forward)6 diagrams
  11. 11Circuit Breaker PatternCircuit breaker pattern and related resilience patterns5 diagrams
  12. 12Design Self-Healing (Auto-Healing) InfrastructureSelf-healing (auto-healing) infrastructure6 diagrams
  13. 13Design a Scalable and Cost-Effective System for 5 Million UsersScalable and cost-effective architecture for 5 million users5 diagrams
  14. 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
  15. 15How End-to-End Encryption Works (WhatsApp and the Signal Protocol)End-to-end encryption (Signal Protocol, as used by WhatsApp)10 diagrams
  16. 16Design a Large Real-Time Dashboard in ReactLarge real-time dashboard in React that stays stable under constant updates6 diagrams
  17. 17Transfer a Large File from a Fast Server to a Slow ServerTransfer a large file from a fast server to a slow server6 diagrams
  18. 18Design a Ride-Hailing Service (Uber, Ola)Ride-hailing service (Uber, Ola)6 diagrams
  19. 19Design a Ticket Booking System (BookMyShow)Ticket booking system (BookMyShow)4 diagrams
  20. 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:

  1. Distributed cache (Redis, Memcached). Consistent hashing, eviction, replication.
  2. Search autocomplete. Trie, top-K queries, prefix cache.
  3. Payment system. Idempotency keys, ledger, reconciliation, exactly-once effect.
  4. Collaborative editor (Google Docs). Operational transformation (OT) or CRDT.
  5. Web crawler. URL frontier, politeness, duplicate detection.
  6. File storage and sync (Dropbox, Google Drive). Chunking, deduplication, sync conflicts.
  7. Leaderboard. Redis sorted sets, sharded counters.

A standard method for each interview answer

Use these steps in each interview:

  1. Ask questions to find the functional requirements.
  2. Write the non-functional requirements (latency, availability, scale).
  3. Calculate the approximate load (users, requests per second, storage).
  4. Draw the high-level architecture.
  5. Define the APIs and the data model.
  6. Explain the main data flow.
  7. Find the bottlenecks. Explain how to scale each one.
  8. Explain the trade-offs that you made.