MySQL Replication

Binary Log File Position Based Replication

TODO

Replication with Global Transaction Identifiers

TODO

MySQL Master-Master Replication

Master-master replication (with load balancer) introduces the possibility that two or more servers can replicate concurrent changes to each other. To prevent key conflicts by using the auto_increment_offset and auto_increment_increment configuration variables, to ensure AUTO_INCREMENT values will be unique to each server. 

auto-increment-increment = 2

auto-increment-offset = 2 or 1 

Appropriate load balancers would be:

Limitations

Bibliography