Architecture Learning
20 modulesStep-by-step operational walkthroughs of how backend systems behave under load, failure, and scale. Each module advances through deterministic simulation states, showing exactly what happens at the database, cache, or queue level.
20 modules
Indexing
How B-tree indexes organize data, how insertions cause node splits, how queries traverse the tree, and why indexes have a write amplification cost.
How normal forms eliminate data anomalies, when denormalization is the correct engineering tradeoff, and how to reason about read vs. write integrity at schema design time.
How PostgreSQL's query planner chooses between sequential scan, index scan, and bitmap scan; how table statistics drive cost estimates; and which index type to choose for which access pattern.
How vector embeddings enable semantic search, how HNSW and IVFFlat indexes make approximate nearest neighbor search practical at scale, and when to use pgvector versus a dedicated vector database.
How a single application write triggers multiple physical I/O operations across WAL, heap pages, and indexes, why this limits write throughput, and how LSM trees trade read amplification for lower write amplification.
Partitioning
Replication
Consistency
The consistency spectrum from linearizability to eventual consistencywhat each model guarantees, which real systems implement each model, and how to design application code for the consistency level your infrastructure provides.
How eventual consistency models propagate updates across nodes, how convergence windows create read anomalies, how conflict resolution works, and when strong consistency is required instead.
Caching
Queues
Event Streams
Distributed Systems
Search
OLTP vs OLAP
CQRS
Event Sourcing
Scaling
How to migrate production systems incrementally using strangler fig, expand-contract schema changes, traffic shadowing, and online schema change tools: without big-bang rewrites, downtime, or data loss.
Three isolation models for multi-tenant systems: shared database with row-level security, schema-per-tenant, and database-per-tenant: with precise tradeoffs across isolation, cost, operational complexity, and scalability.