High-Level Design Preview
The Database Layer
Primary, replicas, and shards — scaling reads, writes, and storage when one node isn't enough.
Replication for reads, sharding for writes, indexes first, and the full data stack.
Core Design Challenge
"What happens when one database can't keep up?"