Article Directory
(Foreword)
Let us recall, in a high concurrency scenario, what optimization methods we can have for the database:
- Read and write separation
- Add cache
- Master-slave architecture cluster
- Sub-library and sub-table
The above are the main optimization methods of the database. In Internet project applications, most of them are read more and write less scenarios. We can set up two libraries to achieve separation of reads and writes, called the main library and the read library.
Limitations of master-slave synchronization
Here is divided into main data