Synchronous replication
Definition
In synchronous replication the leader waits for acknowledgement from a configured number of replicas before reporting a write as committed to the client.
In practice
It buys durability across machines: if the primary dies, a synchronous replica already holds every acknowledged write, giving an RPO of zero. PostgreSQL synchronous_commit with a standby, MySQL semi-sync and consensus-based databases all work this way.
Every write pays at least one round trip to the slowest required replica, which hurts across regions, and a dead or slow replica can stall all writes. Common compromises are waiting for any one of several replicas (quorum commit) or keeping one synchronous replica nearby and the rest asynchronous.
Example
With one synchronous standby in the same region, commits go from 1.5 ms to 2.5 ms; with the standby 80 ms away, every commit takes over 80 ms.