Skip to content
Theory · Choosing and splitting storage · lesson 2 of 7

Read replicas

The classifieds service is opened 60,000 times a second at peak, and one database handles about 20,000 simple reads. Writes, meanwhile, are only 1,000 a second. Writes fit, reads do not, and for that imbalance there is a standard answer — replicas.

In this lesson

  • How a replica works
  • Replica lag
  • When the primary fails
  • Common mistake
  • Key points