Skip to main content
SDMastery

Databases

10 topics in databases.

intermediate

ACID Transactions

Understanding ACID is essential for choosing between SQL and NoSQL databases. Financial systems require ACID. Social media feeds may not.

6 min read
intermediate

SQL vs NoSQL

Choosing the right database is one of the most impactful decisions in system design. The wrong choice leads to painful migrations.

7 min read
intermediate

Database Indexes

Indexes are the single most impactful performance optimization for databases. A query that takes 30 seconds without an index can take 1 millisecond with.

9 min read
advanced

Database Sharding

When a single database server cannot handle the data volume or query load, sharding is the solution.

16 min read
intermediate

Data Replication

Every production database uses replication. Without it, a single server failure means data loss and downtime.

9 min read
intermediate

Database Scaling

The database is almost always the first bottleneck in a growing system. Knowing the scaling playbook — and the order in which to apply techniques — is.

7 min read
intermediate

Database Types

Choosing the right database for each component of your system is a core design skill.

6 min read
advanced

Bloom Filters

Bloom filters save expensive disk/network lookups. Before querying a database or cache, check the Bloom filter.

10 min read
advanced

Database Architectures

Understanding database architectures helps you design systems that meet availability, consistency, and performance requirements.

6 min read
intermediate

NoSQL Data Modeling

How to model data in NoSQL databases using denormalization, access-pattern-driven design, and practical patterns for document, wide-column, and key-value.

14 min read