Scaling: when more people arrive

One database is fine when you start. What changes when millions of people arrive?

System design · about 5 minutes

Many apps read far more than they write. So you grow by adding copies of the database that only answer reads, and you keep one main database that takes every write. Writes are the hard part, so you protect that main database.

Picture: one main database takes every write, and arrows carry its changes out to three read copies, which answer reads