MySQL offers a wide array of options to configure replication,
but with all of those options, how can you be sure you are doing
it right? Replication is the first step to providing a higher
level of availability to your MySQL database. A well configured
replication architecture can be the difference between your data
being highly available, or your MySQL setup becoming a management
nightmare. At PlanetScale, we support hundreds of thousands of
database clusters, all using replication to provide high
availability, so we have a little bit of experience in this
arena! In this article, we’re going to explore some of the best
practices when it comes to replication, both locally and across
longer distances. Use an active/passive configuration When
replicating with active/passive mode, one MySQL server acts as
the source and all other servers are read-only replicas from that
source. In this configuration, the replicas can be used to serve
up read-only …
[Read more]