For example, there are 10 servers, one of which is the main server, but the pressure of the main write I feel very big, now I want to add one to 11 units, I would like to have two master, write the data are written in these two, but the problem comes, how to ensure that the data from the server consistent
Reply content:
For example, there are 10 servers, one of which is the main server, but the pressure of the main write I feel very big, now I want to add one to 11 units, I would like to have two master, write the data are written in these two, but the problem comes, how to ensure that the data from the server consistent
The Lord can consider
1+5 1+5 Such a pattern, the first sub-library and then do two master-slave cluster
You can refer to this article: MySQL primary master replication +lvs+keepalived for MySQL high availability