Skip to main content

Database Fundamentals

Storage is where most system design interviews are won or lost: transactions, indexing, sharding, replication, and the tradeoffs between SQL and NoSQL.

Database Architectures

Every lesson in this module has covered one piece of a database in isolation — transactions, schema choice, indexing, sharding, replication. A database architecture is what you get when those pieces are assembled into a complete topology: how many nodes, which ones accept writes, how they stay in sync, and what happens when one of them fails. This lesson is a capstone, walking through the standard topologies and where each piece from the rest of this module fits into them.