Designing a reliable unplanned failover
Deep dive 10 min +100 XP
Neki, PlanetScale's Postgres sharding system, declares a primary dead only when its control plane (Admin) cannot reach it and at least one reachable replica reports broken replication with none contradicting.