Lesson 2.1

Sharding and partitioning

Partitioning splits data across machines. The shard key decides whether that scales smoothly or creates one very hot node.

Duration
6m
Level
Intermediate
Students
12k students

Overview

Partitioning splits data across machines. The shard key decides whether that scales smoothly or creates one very hot node.

In this lesson you will:

  • Choose a shard key that spreads load evenly
  • Compare range, hash, and directory partitioning
  • Plan for resharding before you need it

Resources

AWS Architecture Center

The official reference for the tools used in this lesson.