All Topics

72+ topics covering every system design concept from basics to advanced distributed systems and AI architectures.

Showing 72 topics

0.1

What is system design?

Orientation

Definition, scope, why it matters — not just for interviews but for everyday engineering decisions

0.2

System design vs software design

Orientation

The distinction between micro-level code design (OOP, design patterns) and macro-level system architecture

0.3

How system design interviews work

Orientation

The 45-minute format, what interviewers evaluate, common mistakes, how FAANG differs from startups

0.4

The RESHADED framework

Orientation

Requirements → Estimation → Service interface → High-level design → API design → Data model → Evaluation → Distinctive features

0.5

How to use this guide

Orientation

Recommended learning paths by role and goal: beginner path, interview-prep path, architect path

0.6

Back-of-envelope estimation basics

Orientation

Powers of 10, latency numbers every engineer should know, throughput and storage estimates, QPS calculations

1.1

Scalability fundamentals

Beginner

Vertical vs horizontal scaling, diagonal scaling, measuring scalability with throughput and latency percentiles

1.2

Reliability and availability

Beginner

SLAs, fault tolerance, redundancy, graceful degradation, chaos engineering

1.3

Latency and performance

Beginner

Latency numbers every engineer should know, percentiles, Little's Law, performance vs scalability

1.4

Client-server model

Beginner

How the internet works, DNS, HTTP/HTTPS, HTTP/2, HTTP/3, WebSockets, Server-Sent Events

1.5

APIs — the contracts between systems

Beginner

REST, GraphQL, gRPC, API versioning, rate limiting, API gateways, idempotency

1.6

Unique ID generation

Beginner

UUID, Snowflake IDs, ULID, auto-increment at scale, time-sortable IDs, ID collision probability

2.1

Relational databases (SQL)

Beginner → Intermediate

ACID properties, transactions, indexes, query optimization, schema design, joins at scale

2.2

NoSQL databases

Beginner → Intermediate

Document stores, key-value stores, wide-column stores, graph databases, time-series databases, search engines

2.3

CAP theorem and consistency models

Beginner → Intermediate

CAP theorem, PACELC, eventual consistency, strong consistency, causal consistency

2.4

Database replication

Beginner → Intermediate

Single-leader, multi-leader, leaderless replication, sync vs async, replication lag

2.5

Database sharding and partitioning

Beginner → Intermediate

Horizontal vs vertical partitioning, consistent hashing, hot spots, cross-shard transactions

2.6

Database selection framework

Beginner → Intermediate

SQL vs NoSQL decision matrix, NewSQL, polyglot persistence

2.7

Consistent hashing deep dive

Beginner → Intermediate

Hash rings, virtual nodes, minimal disruption, weighted distribution, real-world use in DynamoDB, Cassandra, and CDNs

3.1

Why caching

Intermediate

Cache purpose, hit ratio, where to cache — client-side, CDN, application layer, database query cache

3.2

Cache eviction policies

Intermediate

LRU, LFU, FIFO, Random, TTL-based, ARC — Adaptive Replacement Cache

3.3

Cache write strategies

Intermediate

Write-through, write-back, write-around, read-through, cache-aside patterns

3.4

Cache problems and solutions

Intermediate

Cache stampede, avalanche, penetration, invalidation, hot key problem

3.5

Distributed caching systems

Intermediate

Redis deep-dive, Memcached, CDN as a cache — when to choose each

4.1

Load balancers

Intermediate

Layer 4 vs Layer 7, algorithms, sticky sessions, health checks, GSLB

4.2

Proxies

Intermediate

Forward proxy, reverse proxy, service mesh with Istio and Envoy

4.3

Content Delivery Networks (CDN)

Intermediate

Edge nodes, PoPs, cache hierarchy, CDN invalidation, major providers

4.4

Service discovery

Intermediate

Client-side vs server-side discovery, DNS-based, Consul, etcd, ZooKeeper

4.5

Rate limiting patterns

Intermediate

Token bucket, leaky bucket, fixed window, sliding window log, sliding window counter, distributed rate limiting

5.1

Why async messaging

Intermediate

Temporal decoupling, load levelling, guaranteed delivery, fan-out patterns

5.2

Message queue patterns

Intermediate

Point-to-point, pub/sub, request-reply, dead letter queues, priority & delayed queues

5.3

Message delivery guarantees

Intermediate

At-most-once, at-least-once, exactly-once, idempotent consumers

5.4

Major message queue systems

Intermediate

Kafka, RabbitMQ, Amazon SQS/SNS, Google Pub/Sub, Redis Streams

5.5

Event-driven architecture (EDA)

Intermediate

Event sourcing, CQRS, Saga pattern, Outbox pattern, Change Data Capture

6.1

Distributed systems fundamentals

Intermediate → Advanced

Partial failures, fallacies of distributed computing, Two Generals problem, Byzantine faults

6.2

Consensus algorithms

Intermediate → Advanced

FLP impossibility, Paxos, Raft, Zab, Viewstamped Replication

6.3

Clocks and time in distributed systems

Intermediate → Advanced

Physical clocks, Lamport timestamps, vector clocks, HLC, Google TrueTime

6.4

Distributed transactions

Intermediate → Advanced

2PC, 3PC, Saga pattern, distributed locking, optimistic vs pessimistic concurrency

6.5

Consistency patterns

Intermediate → Advanced

Linearizability, sequential consistency, causal consistency, eventual consistency

7.1

Storage types and trade-offs

Intermediate → Advanced

Block storage, object storage, file storage, in-memory storage

7.2

Storage engine internals

Intermediate → Advanced

B-trees, LSM trees, SSTable, WAL, MVCC, column-oriented storage

7.3

Distributed file systems

Intermediate → Advanced

HDFS, Google File System, Amazon S3 architecture, Ceph

7.4

Data serialization formats

Intermediate → Advanced

JSON, Protocol Buffers, Avro, Parquet/ORC, MessagePack

7.5

Bloom filters & probabilistic data structures

Intermediate → Advanced

Bloom filters, count-min sketch, HyperLogLog, cuckoo filters — space-efficient set membership and cardinality

8.1

Architecture styles

Intermediate → Advanced

Monolith, modular monolith, SOA, microservices, serverless, event-driven architecture

8.2

Microservices design principles

Intermediate → Advanced

Single responsibility, bounded context, API-first, database per service, twelve-factor app

8.3

Inter-service communication

Intermediate → Advanced

Sync vs async communication, service mesh, API gateway, Backend for Frontend

8.4

Resilience patterns

Intermediate → Advanced

Circuit breaker, retry with backoff, timeout, bulkhead, fallback, health checks

8.5

Data patterns in microservices

Intermediate → Advanced

Shared database anti-pattern, Saga, CQRS, event sourcing, API composition

9.1

Containers and orchestration

Intermediate → Advanced

Docker, Kubernetes architecture, scheduling, networking, Helm, service mesh

9.2

Cloud infrastructure patterns

Intermediate → Advanced

Multi-region, multi-cloud, IaC, immutable infrastructure, deployment strategies

9.3

Observability

Intermediate → Advanced

Logs, metrics, traces, SLI/SLO/SLA, error budgets, on-call and incident response

9.4

Security in system design

Intermediate → Advanced

AuthN/AuthZ, OAuth 2.0, JWT, mTLS, secrets management, DDoS protection, zero trust

10.1

Coordination and leader election

Advanced

ZooKeeper, etcd, leader election algorithms, distributed locks and fencing tokens

10.2

Distributed storage systems

Advanced

Amazon Dynamo, Google Bigtable, Google Spanner, Facebook TAO, Cassandra deep dive

10.3

Stream processing

Advanced

Kafka Streams, Apache Flink, Spark Streaming, windowing, backpressure handling

10.4

Data-intensive system design

Advanced

Data pipelines, data lakes, warehouses, Apache Spark, MapReduce, columnar databases

10.5

Geographically distributed systems

Advanced

Multi-region replication, data sovereignty, CRDTs, operational transformation

11.1

ML system design fundamentals

Advanced

Online vs offline ML, feature stores, training pipelines, model serving, A/B testing, monitoring

11.2

Recommendation systems

Advanced

Collaborative & content-based filtering, two-tower architecture, cold start, ranking

11.3

Search systems

Advanced

Inverted index, Elasticsearch, relevance scoring, vector search, hybrid search

11.4

Large Language Model (LLM) system design

Advanced

LLM inference infrastructure, RAG, API design, prompt caching, fine-tuning, safety

11.5

AI agent system design

Advanced

Agent architecture, tool calling, memory systems, multi-agent orchestration, human-in-the-loop

12.1

Communication systems

All Levels

WhatsApp, notification system, real-time chat, email service, video conferencing

12.2

Content and social systems

All Levels

Twitter/X, Instagram, YouTube, news feed, Reddit, TikTok

12.3

E-commerce and marketplaces

All Levels

Amazon, flash sale system, payment system, Airbnb, Uber

12.4

Data and infrastructure systems

All Levels

URL shortener, rate limiter, web crawler, KV store, search engine, Google Docs, Kafka, S3

12.5

Real-time and location systems

All Levels

Live leaderboard, stock ticker, Google Maps, nearby friends, food delivery

12.6

Developer and platform systems

All Levels

CI/CD pipeline, deployment system, API gateway, metrics system, logging system, feature flags

13.1

Interview frameworks

All Levels

RESHADED framework, requirements gathering, estimation techniques, trade-off communication, diagramming

13.2

FAANG-specific preparation

All Levels

Google, Meta, Amazon, Netflix, Uber — company-specific expectations and interview styles

13.3

Mock interview questions bank

All Levels

Tier 1-4 questions from beginner to AI-era, plus whiteboard rubric for self-evaluation