Make MySQL database replication always use the most free node?
Posted
by Chad Johnson
on Stack Overflow
See other posts from Stack Overflow
or by Chad Johnson
Published on 2010-03-11T18:02:00Z
Indexed on
2010/03/11
18:04 UTC
Read the original article
Hit count: 342
database-replication
|mysql
We started using Multi-Master Replication Manager for MySQL, and I am wondering whether it is possible to to treat this setup like multi-symmetric processing: a process pops off the process queue, and the node (in this case a server) that is most free is selected for the job.
It seems that what happens is, the service switches to a slave ONLY when it mysqld crashes or goes away.
Is there a way to make database replication for MySQL act in more of a distributed manner? Maybe there is other software besides MMM that can do this?
Is there a way to switch the reader role to another server whene mysqld slows down (rather than just when it fails)?
© Stack Overflow or respective owner