Vinay Joosery
posted this on October 20, 2011 16:01
A recommended MySQL Replication topology would be constructed so that it takes advantage of the strengths of Replication, and minimizes the weaknesses of the protocol.

Some recommendations:
- Replication only flows in one direction, applications only write on the master
- The master pushes changes to a backup master and to one or more slaves
- Use semi-synchronous replication (in MySQL 5.5) between master and backup master
- Have only the replication process make changes on the slaves, so as to minimize the risk of data conflicts on the slave.
- Replication sends larger packets between the servers, the max allowed packet set to a high value so as to avoid replication errors.
- Binary logs need to be available to bring a new slave up to date
- Replication connection parameters should not be placed in the my.cnf file. For instance, a slave may have its configuration file overwritten, and not know from what point to continue the replication.