Databases

Master-master

Replication with two masters that serve reads and writes and coordinate with each other. If one goes down, the other keeps going.

Example

One master in Europe and one in America: each user writes to the nearest one and both sync with each other.

Test yourself: Master-master

Replication

Master-master: in the same second, Master A sets stock to 4 and Master B to 3. What happens?

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.