All Topics
72+ topics covering every system design concept from basics to advanced distributed systems and AI architectures.
Popular Topics
Showing 72 topics
What is system design?
OrientationDefinition, scope, why it matters — not just for interviews but for everyday engineering decisions
System design vs software design
OrientationThe distinction between micro-level code design (OOP, design patterns) and macro-level system architecture
How system design interviews work
OrientationThe 45-minute format, what interviewers evaluate, common mistakes, how FAANG differs from startups
The RESHADED framework
OrientationRequirements → Estimation → Service interface → High-level design → API design → Data model → Evaluation → Distinctive features
How to use this guide
OrientationRecommended learning paths by role and goal: beginner path, interview-prep path, architect path
Back-of-envelope estimation basics
OrientationPowers of 10, latency numbers every engineer should know, throughput and storage estimates, QPS calculations
Scalability fundamentals
BeginnerVertical vs horizontal scaling, diagonal scaling, measuring scalability with throughput and latency percentiles
Reliability and availability
BeginnerSLAs, fault tolerance, redundancy, graceful degradation, chaos engineering
Latency and performance
BeginnerLatency numbers every engineer should know, percentiles, Little's Law, performance vs scalability
Client-server model
BeginnerHow the internet works, DNS, HTTP/HTTPS, HTTP/2, HTTP/3, WebSockets, Server-Sent Events
APIs — the contracts between systems
BeginnerREST, GraphQL, gRPC, API versioning, rate limiting, API gateways, idempotency
Unique ID generation
BeginnerUUID, Snowflake IDs, ULID, auto-increment at scale, time-sortable IDs, ID collision probability
Relational databases (SQL)
Beginner → IntermediateACID properties, transactions, indexes, query optimization, schema design, joins at scale
NoSQL databases
Beginner → IntermediateDocument stores, key-value stores, wide-column stores, graph databases, time-series databases, search engines
CAP theorem and consistency models
Beginner → IntermediateCAP theorem, PACELC, eventual consistency, strong consistency, causal consistency
Database replication
Beginner → IntermediateSingle-leader, multi-leader, leaderless replication, sync vs async, replication lag
Database sharding and partitioning
Beginner → IntermediateHorizontal vs vertical partitioning, consistent hashing, hot spots, cross-shard transactions
Database selection framework
Beginner → IntermediateSQL vs NoSQL decision matrix, NewSQL, polyglot persistence
Consistent hashing deep dive
Beginner → IntermediateHash rings, virtual nodes, minimal disruption, weighted distribution, real-world use in DynamoDB, Cassandra, and CDNs
Why caching
IntermediateCache purpose, hit ratio, where to cache — client-side, CDN, application layer, database query cache
Cache eviction policies
IntermediateLRU, LFU, FIFO, Random, TTL-based, ARC — Adaptive Replacement Cache
Cache write strategies
IntermediateWrite-through, write-back, write-around, read-through, cache-aside patterns
Cache problems and solutions
IntermediateCache stampede, avalanche, penetration, invalidation, hot key problem
Distributed caching systems
IntermediateRedis deep-dive, Memcached, CDN as a cache — when to choose each
Load balancers
IntermediateLayer 4 vs Layer 7, algorithms, sticky sessions, health checks, GSLB
Proxies
IntermediateForward proxy, reverse proxy, service mesh with Istio and Envoy
Content Delivery Networks (CDN)
IntermediateEdge nodes, PoPs, cache hierarchy, CDN invalidation, major providers
Service discovery
IntermediateClient-side vs server-side discovery, DNS-based, Consul, etcd, ZooKeeper
Rate limiting patterns
IntermediateToken bucket, leaky bucket, fixed window, sliding window log, sliding window counter, distributed rate limiting
Why async messaging
IntermediateTemporal decoupling, load levelling, guaranteed delivery, fan-out patterns
Message queue patterns
IntermediatePoint-to-point, pub/sub, request-reply, dead letter queues, priority & delayed queues
Message delivery guarantees
IntermediateAt-most-once, at-least-once, exactly-once, idempotent consumers
Major message queue systems
IntermediateKafka, RabbitMQ, Amazon SQS/SNS, Google Pub/Sub, Redis Streams
Event-driven architecture (EDA)
IntermediateEvent sourcing, CQRS, Saga pattern, Outbox pattern, Change Data Capture
Distributed systems fundamentals
Intermediate → AdvancedPartial failures, fallacies of distributed computing, Two Generals problem, Byzantine faults
Consensus algorithms
Intermediate → AdvancedFLP impossibility, Paxos, Raft, Zab, Viewstamped Replication
Clocks and time in distributed systems
Intermediate → AdvancedPhysical clocks, Lamport timestamps, vector clocks, HLC, Google TrueTime
Distributed transactions
Intermediate → Advanced2PC, 3PC, Saga pattern, distributed locking, optimistic vs pessimistic concurrency
Consistency patterns
Intermediate → AdvancedLinearizability, sequential consistency, causal consistency, eventual consistency
Storage types and trade-offs
Intermediate → AdvancedBlock storage, object storage, file storage, in-memory storage
Storage engine internals
Intermediate → AdvancedB-trees, LSM trees, SSTable, WAL, MVCC, column-oriented storage
Distributed file systems
Intermediate → AdvancedHDFS, Google File System, Amazon S3 architecture, Ceph
Data serialization formats
Intermediate → AdvancedJSON, Protocol Buffers, Avro, Parquet/ORC, MessagePack
Bloom filters & probabilistic data structures
Intermediate → AdvancedBloom filters, count-min sketch, HyperLogLog, cuckoo filters — space-efficient set membership and cardinality
Architecture styles
Intermediate → AdvancedMonolith, modular monolith, SOA, microservices, serverless, event-driven architecture
Microservices design principles
Intermediate → AdvancedSingle responsibility, bounded context, API-first, database per service, twelve-factor app
Inter-service communication
Intermediate → AdvancedSync vs async communication, service mesh, API gateway, Backend for Frontend
Resilience patterns
Intermediate → AdvancedCircuit breaker, retry with backoff, timeout, bulkhead, fallback, health checks
Data patterns in microservices
Intermediate → AdvancedShared database anti-pattern, Saga, CQRS, event sourcing, API composition
Containers and orchestration
Intermediate → AdvancedDocker, Kubernetes architecture, scheduling, networking, Helm, service mesh
Cloud infrastructure patterns
Intermediate → AdvancedMulti-region, multi-cloud, IaC, immutable infrastructure, deployment strategies
Observability
Intermediate → AdvancedLogs, metrics, traces, SLI/SLO/SLA, error budgets, on-call and incident response
Security in system design
Intermediate → AdvancedAuthN/AuthZ, OAuth 2.0, JWT, mTLS, secrets management, DDoS protection, zero trust
Coordination and leader election
AdvancedZooKeeper, etcd, leader election algorithms, distributed locks and fencing tokens
Distributed storage systems
AdvancedAmazon Dynamo, Google Bigtable, Google Spanner, Facebook TAO, Cassandra deep dive
Stream processing
AdvancedKafka Streams, Apache Flink, Spark Streaming, windowing, backpressure handling
Data-intensive system design
AdvancedData pipelines, data lakes, warehouses, Apache Spark, MapReduce, columnar databases
Geographically distributed systems
AdvancedMulti-region replication, data sovereignty, CRDTs, operational transformation
ML system design fundamentals
AdvancedOnline vs offline ML, feature stores, training pipelines, model serving, A/B testing, monitoring
Recommendation systems
AdvancedCollaborative & content-based filtering, two-tower architecture, cold start, ranking
Search systems
AdvancedInverted index, Elasticsearch, relevance scoring, vector search, hybrid search
Large Language Model (LLM) system design
AdvancedLLM inference infrastructure, RAG, API design, prompt caching, fine-tuning, safety
AI agent system design
AdvancedAgent architecture, tool calling, memory systems, multi-agent orchestration, human-in-the-loop
Communication systems
All LevelsWhatsApp, notification system, real-time chat, email service, video conferencing
Content and social systems
All LevelsTwitter/X, Instagram, YouTube, news feed, Reddit, TikTok
E-commerce and marketplaces
All LevelsAmazon, flash sale system, payment system, Airbnb, Uber
Data and infrastructure systems
All LevelsURL shortener, rate limiter, web crawler, KV store, search engine, Google Docs, Kafka, S3
Real-time and location systems
All LevelsLive leaderboard, stock ticker, Google Maps, nearby friends, food delivery
Developer and platform systems
All LevelsCI/CD pipeline, deployment system, API gateway, metrics system, logging system, feature flags
Interview frameworks
All LevelsRESHADED framework, requirements gathering, estimation techniques, trade-off communication, diagramming
FAANG-specific preparation
All LevelsGoogle, Meta, Amazon, Netflix, Uber — company-specific expectations and interview styles
Mock interview questions bank
All LevelsTier 1-4 questions from beginner to AI-era, plus whiteboard rubric for self-evaluation