In official doc Galera Use Cases for the 2nd, WAN Clustering use case I am reading the following:
"Synchronous replication works fine over the WAN network. There will be a delay, which is proportional to the network round trip time (RTT), but it only affects the commit operation."
If I understand correctly Galera will replicate the write-set to all nodes. So when the client executes a write transaction on a 'local' node (we must here have an intelligent load balancer, (MaxScale?) but that is an other topic), then the write-set must go through the wire for all nodes.
The node which accessible the worst bandwidth will probably the slowest answer to OK to commit.
It is not clear, why the official states that a WAN node introduces only an RTT proportional lag, when as I see this lag will be indeed bandwidth proportional, and for big write sets will introduce considerable lag. It is also average write-set size proportional. What I am missing?
Question
I do understand that the motivation is HA across data centers. What are the real performance impacts to include WAN nodes into a Galera cluster, even for clients connecting to their local data center?