Concept map
See how the 47 concepts build on each other. Below the map, browse the topics by area and jump to a lab.
How the concepts connect
Each box is one concept. An arrow runs from a topic to the topic that builds on it. Pick a box to light up its links.
- The step right before it on the learning path
- Another topic it builds on
Caching strategies. Learn first: Vertical and horizontal scaling. Comes after: Cache eviction and stampedes, Consistent hashing, Event-driven fan-out: push vs pull and LLM serving and retrieval (RAG).
Stage 1 Foundations
Stage 0 Interview method
Stage 2 Building blocks
Stage 3 Distributed data
Stage 4 Reliability
Stage 5 Architecture patterns
Stage 6 Architecture at scale
Read the map as a list
- The client–server model: nothing to learn first.
- DNS and geo-routing: learn The client–server model first.
- HTTP, TCP, UDP and connections: learn The client–server model first.
- API styles: REST, gRPC, WebSockets and SSE: learn HTTP, TCP, UDP and connections first.
- Vertical and horizontal scaling: learn The client–server model first.
- How system design interviews work: nothing to learn first.
- Functional and non-functional requirements: learn How system design interviews work first.
- Latency, throughput and availability: learn Functional and non-functional requirements first.
- Capacity and cost estimation: learn Latency, throughput and availability first.
- Load balancing and health checks: learn Vertical and horizontal scaling and Latency, throughput and availability first.
- Service discovery: how services find each other: learn DNS and geo-routing and Load balancing and health checks first.
- Reverse proxies and API gateways: learn HTTP, TCP, UDP and connections and Load balancing and health checks first.
- Authentication and authorization: learn HTTP, TCP, UDP and connections and Reverse proxies and API gateways first.
- CDNs and edge caching: learn DNS and geo-routing and HTTP, TCP, UDP and connections first.
- Rate limiting: learn Reverse proxies and API gateways first.
- Caching strategies: learn Vertical and horizontal scaling first.
- Cache eviction and stampedes: learn Caching strategies first.
- Choosing a database and modelling data: learn Functional and non-functional requirements and Vertical and horizontal scaling first.
- Indexes and storage engines: learn Choosing a database and modelling data first.
- Transactions and isolation levels: learn Choosing a database and modelling data first.
- Object storage and large files: learn CDNs and edge caching and Choosing a database and modelling data first.
- Message queues and Kafka: learn API styles: REST, gRPC, WebSockets and SSE and Vertical and horizontal scaling first.
- Search indexes and autocomplete: learn Indexes and storage engines first.
- Replication and sharding: learn Choosing a database and modelling data first.
- Consistent hashing: learn Caching strategies and Replication and sharding first.
- Geospatial indexes: finding what is nearby: learn Indexes and storage engines and Replication and sharding first.
- CAP, PACELC and quorums: learn Replication and sharding first.
- Time, clocks and ordering: learn Replication and sharding first.
- Consensus and Raft: learn CAP, PACELC and quorums first.
- Distributed locks and fencing tokens: learn Time, clocks and ordering and Consensus and Raft first.
- Timeouts, retries and idempotency: learn HTTP, TCP, UDP and connections first.
- Circuit breakers and bulkheads: learn Timeouts, retries and idempotency first.
- Cascading failures, load shedding and backpressure: learn Timeouts, retries and idempotency and Circuit breakers and bulkheads first.
- Observability, SLOs and error budgets: learn Latency, throughput and availability and Cascading failures, load shedding and backpressure first.
- CI/CD and safe deployments: learn Load balancing and health checks and Observability, SLOs and error budgets first.
- Changing a database table without downtime: learn Choosing a database and modelling data and CI/CD and safe deployments first.
- Containers, orchestration and autoscaling: learn Load balancing and health checks and CI/CD and safe deployments first.
- Security beyond sign-in: secrets, encryption and abuse: learn Authentication and authorization and Rate limiting first.
- Event-driven fan-out: push vs pull: learn Caching strategies and Message queues and Kafka first.
- Stream and batch processing: learn Message queues and Kafka first.
- Analytics storage: row stores and column stores: learn Indexes and storage engines and Stream and batch processing first.
- CQRS and event sourcing: learn Event-driven fan-out: push vs pull first.
- Distributed transactions: outbox, CDC and sagas: learn Transactions and isolation levels and Message queues and Kafka first.
- Multi-region architecture and disaster recovery: learn Replication and sharding, CAP, PACELC and quorums and Observability, SLOs and error budgets first.
- Architecture evolution and service boundaries: learn Reverse proxies and API gateways, Event-driven fan-out: push vs pull and CI/CD and safe deployments first.
- Cost, ownership and build or buy: learn Capacity and cost estimation and Architecture evolution and service boundaries first.
- LLM serving and retrieval (RAG): learn Search indexes and autocomplete, Caching strategies and Rate limiting first.
Browse the topics by area
Caching Strategies & In-Memory Storage
Critical for reducing database read load, lowering latencies from 20ms to 1ms, and surviving high traffic spikes.
App queries cache first. On miss, queries DB and populates cache.
Data is written to cache and primary DB simultaneously.
App writes to cache immediately; async worker writes to DB in batches.
Algorithms for evicting cold keys when RAM memory hits capacity limits.
Concurrent misses when a popular key expires, overwhelming the DB.
Caching viral keys in application pod heap memory to protect Redis.