Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MySQL Multi-master Replication

DZone's Guide to

MySQL Multi-master Replication

· Performance Zone ·
Free Resource

Sensu is an open source monitoring event pipeline. Try it today.

Why multi-master replication?

Master-slave configuration is a great solution when your system is read-bound. But what happens if you want to support high write loads while keeping the option to select the data using a single SQL statement?

Multi-master replication is the solution for that. However, there are several methods in the market for that, and when choosing the right method, you should carefully define your needs: a synchronous method or an asynchronous one, row-based or statement-based (traffic between servers) and if time-delayed replication is required (for quick recovery from delete for example).

The Multi-master Replication Options

I just kicked off the first Israeli MySQL User Group in association with Wix this week, and I wanted to share with you Michael Naumov's presentation from our first event. 

In his talk, Michael presented four methods to support multi-master replication: MySQL 5.6 Native, NDB, Tungsten and Galera.

Bottom Line
Careful selection of the right MySQL multi-master replication can save you production issues and can boost your system. Now all that's left is to define what is needed and what the matching solution is for that.

Keep Performing,
Moshe Kaplan

Sensu: workflow automation for monitoring. Learn more—download the whitepaper.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}