-
Document shape follows access pattern.
Model what you query together, not what you store separately — a single
ordersdocument beats four joins. -
Shard on the key reads love.
Pick a shard key that fans writes wide and keeps a single user's reads on a single shard, every time.
-
Replicate for survival, not speed.
Three-node replica sets give automatic failover in under ten seconds without a pager firing for any of us.
-
Indexes earn their footprint.
Keep the working set in memory; every index that doesn't serve a hot query gets dropped at the next review.