MySQL Replication has become an essential component of scale-out
architectures in LAMP environments. When there is a necessity to
scale out, MySQL offers a multitude of solutions, the most common
being to add read replicas. The major bottleneck for our data is
generally not so much oriented around writing our data but more
around reading back this data. Therefore the easiest way to scale
MySQL is to add replicas for reading.
And with today’s cloud environments, where resources are
dynamically allocated and deallocated, systems need the ability
to automatically adapt to sudden changes. For MySQL Replication,
this includes tasks like detecting failures, promoting a slave to
master, failing over slaves, and so on. A load balancer with
Virtual IP can also help mask topology changes from the
application, and dispatches read and write traffic appropriately.
With that in mind, we’d like to introduce the …
[Read more]