| ▲ | levkk 5 hours ago | ||||||||||||||||
Not really, replication lag is generally an accepted trade-off. Sync replication is rarely worth it, since you take a 30% performance hit on commits and add more single points of failure. We will add some replication lag-based routing soon. It will prioritize replicas with the lowest lag to maximize the chance of the query succeeding and remove replicas from the load balancer entirely if they have fallen far behind. Incidentally, removing query load helps them catch up, so this could be used as a "self-healing" mechanism. | |||||||||||||||||
| ▲ | jackfischer 4 hours ago | parent [-] | ||||||||||||||||
It sounds like this is one of the few places that might be a leaky abstraction in that queries _might_ fail and the failure might effectively be silent? | |||||||||||||||||
| |||||||||||||||||