Learn
50 concepts across 10 levels. Start with the four-step loop — everything else clicks into place after that.
All concepts in one map
Every concept, component, pattern, system, case study and company track — indexed on one page.
Foundations
Requirements, scale, bottlenecks, and trade-offs — the thesis of the platform.
Requirements → Scale → Bottleneck → Solution
The four-step loop that lets you reason about any system at any scale. This is the platform's thesis.
CAP and PACELC — the trade-off you can't avoid
You cannot have consistency, availability, and partition-tolerance all at once. PACELC extends the picture with a latency vs. consistency trade-off when there's no partition.
Back-of-the-envelope: from DAU to peak RPS
Numbers before diagrams. How to derive traffic, storage, bandwidth, and cache from a headline DAU number in under 3 minutes.
Scalability — horizontal vs vertical
Two ways to add capacity, and why one usually wins at scale.
Availability — the nines and their cost
What 99.9% vs 99.99% actually means, and what each nine costs.
Reliability — MTBF, MTTR, and error budgets
How to talk about reliability without hand-waving.
Durability — the guarantee you can't fudge
Once you say 'stored', you own it forever.
Latency vs throughput
Two axes that pull in opposite directions.
Consistency models
Linearizable, sequential, causal, eventual — and when each is enough.
ACID and BASE
Two philosophies of correctness under contention.
Stateful vs stateless
Why stateless services are cheaper to scale — and where state has to live instead.
Sync vs async communication
When to make the caller wait, and when to fire-and-forget.
Batch vs streaming processing
Two paradigms for computing over data, and where each wins.
Push vs pull
Who initiates? The choice defines your fan-out topology.
Networking
HTTP, TCP, DNS, TLS, WebSockets, CDN, Anycast.
Network Layers — OSI 1-7 and TCP/IP
The 7-layer model that lets you reason about any network problem. Where each protocol sits and what real systems live at each layer.
HTTP / HTTPS
The request-response protocol that runs the web.
TCP vs UDP
Reliable-ordered vs fire-and-forget — and when you want the second.
DNS
How a name becomes an IP — and how DNS becomes a load balancer.
TLS
How the connection becomes private without a shared secret upfront.
WebSockets and SSE
Two ways to keep the server talking to the client.
HTTP/2 and HTTP/3
Multiplexing and QUIC — how HTTP got faster after 20 years.
CDN and Anycast
Serving the same IP from many places at once.
TCP internals — handshake and congestion control
The 3-way handshake, sliding window, and how BBR/CUBIC decide how fast to send.
HTTPS handshake (TLS 1.3 deep dive)
How ClientHello + ServerHello + Finished set up a secure channel in 1 round-trip.
Load balancer internals — L4 vs L7
Packet routing vs HTTP-aware routing, health checks, sticky sessions.
Connection pooling
Why creating a TCP connection per request kills you at scale.
BGP + Anycast internals
How the internet's routing table serves the same IP from 300 places at once.
gRPC vs REST
Protobuf + HTTP/2 streaming vs JSON + HTTP/1.1 — when each wins.
HTTP idempotency & retries
How idempotency-keys turn unreliable networks into safe retries — Stripe, Shopify, OpenAI patterns.
HTTP request lifecycle — animated end-to-end
A checkout API request from browser click to backend response — DNS, TCP, TLS, LB routing, backend. HTTP vs HTTPS side-by-side.
Databases
SQL, NoSQL, indexes, replication, sharding.
Database Types — SQL, NoSQL, NewSQL
The taxonomy of database engines: relational, key-value, document, wide-column, graph, time-series, search, vector, and NewSQL — with when to pick each.
Indexes — the promise and the cost
Indexes turn table scans into lookups; every index taxes writes.
B-trees
The data structure inside most relational databases.
LSM trees
Write-optimized storage — how LevelDB, RocksDB, and Cassandra store data.
Isolation levels
Read committed, repeatable read, serializable — what each protects against.
MVCC
How Postgres keeps readers and writers out of each other's way.
Replication — leader, multi-leader, leaderless
Three topologies for the same problem: keep multiple copies in sync.
Sharding strategies
Range, hash, and consistent-hash — the trade-offs and hot-key traps.
Write-ahead log (WAL)
The append-only log that gives databases durability without slow fsyncs everywhere.
Query planners and join algorithms
How Postgres picks nested-loop vs hash vs merge join — and why one query is 1000x faster than another.
Vector databases — HNSW, IVF, ScaNN
The similarity-search index behind every RAG system in 2025.
Distributed systems
Consensus, quorum, distributed transactions, saga.
Consensus — Paxos and Raft
How machines agree on one value despite failures. The algorithm underneath leader election.
Consistent hashing
The ring algorithm behind Cassandra, DynamoDB, Redis Cluster, and every CDN.
Distributed transactions — 2PC, 3PC, Saga, TCC
Four ways to make N services commit together — with the trade-offs each accepts.
Vector clocks and hybrid logical clocks
How Lamport clocks + HLC establish causal order without a global clock.
CRDTs — conflict-free replicated data types
G-Counter, LWW-Register, OR-Set — data structures that merge without conflict.
Quorum reads and writes
The R+W>N formula that makes eventually-consistent stores feel consistent.
Gossip protocols
How Cassandra and Serf propagate cluster state at O(log N) — like disease spread.
Distributed locks — Redlock, ZooKeeper, Chubby
The 3 industry patterns for mutual exclusion across machines.
Leader election
The general problem: how do N machines pick one boss, and how do they replace it when it dies?