Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

MySQL Replication System (no replies)

$
0
0
Hey,

I have a few questions about designing a MySQL system.

At this moment I have 3 servers, spread over 2 datacenters. One is a dedicated MySQL server and the 2 others runs a FTP and a webserver. The FTP loads its users from the central database, and the webserver fetches data from it too. However the execution time of the MySQL queries can be extremely slow, connecting to the FTP can sometimes takes up to 5 seconds, in total the FTP server sends around 10 queries. The webserver is only a local control panel, so nothing is ever under heavy load. I can't live with a 2-3 seconds delay to receive the webpage. The ping time between the 2 datacenters are approximately 25ms. One datacenter provides me with a 100/100 Mbps broadband connection, the other with a 1000/1000 Mbps.

In general the system needs to be fast, minimal to none risk for data loss and very flexible (adding/deleting nodes).
The server will never store much data nor have high load, but all nodes needs to be able to update the database.

Now to the questions. I would like to have a local copy of the whole or part of the database to speed up the FTP connection and page load itself. I see no problem with that it can take a 5-20 seconds to sync the data either. If I got this right 'MySQL Cluster' isn't storing the data locally, but in separate data nodes, so that would miss the whole point when the servers are in 2 different datacenters. Is there any other good solutions for this? That also can handle multiple insertions/deletions/updates to the same table at the same time.

I have also read a little about Multi-Master Replication systems (with MMM Agent), but I heard it wasn't 100% data safe, is this something to worry about?

All help, tips and experience stories are welcome.

Many thanks for your help.
Markus

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>