The database and its replicas
Lesson 7 of 26 · Building blocks and when they earn their place · 2 min Get the course to watchMost systems read far more than they write, so the first way to scale a database is to add copies that serve reads. It works well, and it hands you a subtle bug: a user saves something, reloads, and it is gone.
To design around that, you need to know exactly what a replica promises, and what it does not. So let's look at how the copies are kept, and how they drift.
The rest of this lesson
- How replication works
- Read your own writes
- Failover and what you can lose
- Choosing
The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.