Databases

Replication lag

The delay between the master storing a write and the slaves receiving it. Meanwhile, a slave can show old data.

Example

You change your profile photo and reload a second later: if the slave has 2 seconds of lag, you still see the old photo.

Test yourself: Replication lag

Replication

A user changes their name and, on reload, sees the old one for 2 seconds. What causes it?

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.