Code Safari

Chapter 46·Advanced

Database Sharding: Splitting Data to Scale Writes

01 / 06

The core idea

Split the data across many databases.

Sharding partitions your data so each server holds only a slice. Together they store more — and handle more writes — than any one could.

Database Sharding: Splitting Data to Scale Writes | Code Safari