MidnightTokensdeveloper portal
Sign In
Unit Study Document

Database Partitioning, Sharding & Replication

9 min readβ€’Visual explainer included

Scaling the Database Tier πŸ—„

Unlike stateless application servers, databases store state and are significantly harder to scale. We use read replication and sharding to overcome write bottleneck limits.

Fast Drill

Active Recalls

Card 1 of 1
Question

What is database sharding?

Tap card to flip
Answer

Horizontal partitioning where rows of a database table are split across multiple independent database servers.

Mastery: 0%
Knowledge Check

Quiz Practice

Question 1 of 1
What is the primary function of a database read replica?

Chapter Scratchpad

Auto-saves immediately

Active Recall Cards

Review core concepts before doing the quiz

Fast Drill

Active Recalls

Card 1 of 1
Question

What is database sharding?

Tap card to flip
Answer

Horizontal partitioning where rows of a database table are split across multiple independent database servers.

Mastery: 0%

AI Study Buddy

Always online

Hi! I'm Spooky, your study buddy! Let's learn together.