Answer the question
In order to leave comments, you need to log in
How to implement scaling and fault tolerance of MySQL database?
I am writing a project in PHP. I chose MySQL as the DBMS. Since there are many users, and the high availability of the service will not hurt, I want to ask you how to make the database fault-tolerant and productive at the same time. There are 2 more or less powerful dedicated servers. How in this case to organize the most affordable and productive solution?
The relevance of the data is required. That is, almost instant duplication of data on both servers.
Answer the question
In order to leave comments, you need to log in
master-slave replication, what is there to think
2 slaves
write to the master, read from the slaves
to the scheme for a hundred years at lunch
separately daily dumps of the disk with the database
Man, asking for advice on a toaster is good, but not enough.
Here you will get vague answers to your question.
It is best to know good and useful books on your topic. Read and only then you can ask a specific question if something is not clear.
1. search here https://ruhighload.com/
2. read the following books.
Making MySQL-Based Systems Highly Available Charles Bell
MySQL Optimizing MySQL Performance Baron Schwartz Maximizing
MySQL Baron Schwartz
High-Load Applications Martin Klepman
I think this way you will find more benefits, answers and specific steps to do.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question