By GCTsala
Hello,
TL;DR How do i synchronize 2 mysql managed clusters that have 1 master and 5 slaves each?
I am currently planning to deploy my web application in digital ocean and am planning to use mysql managed database cluster to host my data. Relatively big traffic is expected in the not-so-distant future and thus I am planning to horizontally scale using master-slave replicas. While reading the docs i saw that a given mysql cluster can have up to 5 read-only nodes and that an account can have up to 10 clusters.
So, once the load is too big and writes to the database are quite often, a second master node will be needed, creating two clusters, with one master each and 1-5 slaves. How can i keep the data consistent between the two clusters so that users don’t lose their data?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @GCTsala,
I don’t think that this is yet possible. However, I was just watching the DigitalOcean Deploy Conference where it was announced that there are plans to introduce multi-master clusters.
For more information make sure to join the Deploy conference:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.