System Design · Junior · Question 47 of 75

What is database replication?

Explanation

A typical setup: one primary server for writes and replicas for reads. If the primary fails, a replica can be promoted. Caveat: replication lag - just-written data may not have appeared on the replica yet.

Further reading

Problem with a question

System Design · Junior · question 47

Test yourself

Take the System Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz