Cianplan

Level 2: Data · L2.2 Replication

Multi-leader replication and conflicts

Explain when multi-leader helps and how conflicts get resolved.

12 min · Pro

What you take away

  • Multi-leader lets each region or device accept writes locally, so writes are fast and survive disconnection.

And 3 more inside the class, in Pro.

How the class is laid out

  1. The problem
  2. The simple version
  3. When it earns its keep
  4. Resolving conflicts, least bad first
  5. Check your understanding