Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Mysql- High availability Cluster-introduction (1)

Shulou Source: shulou.com Published: 2022-06-03 07:53:28 09月23日 Update

Common mysql cluster architecture: 1. Single master and slave

Overall, there are three steps to replication:

(1) master records changes in the binary log (binary log) (these records

Called binary log events, binary log events)

(2) slave copies the binary log events of master to its relay log

(relay log)

(3) slave replays the events in the relay log and changes the data that reflects itself.

two。 Type of architecture:

MySQL master-slave replication of enterprise application scenarios:

1. Real-time data backup of slave server as master server

two。 Real-time read and write separation between master and slave server to achieve load balancing from server

3. Split multiple access from the server according to business importance

3. Load balancing, read-write separation

4. Read and write are separated, read is split by business

Tags: Server service log master-slave balance business event binary real-time data architecture relay cluster important enterprise scenario backup multiple common copy Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux MariaDB Shulou Technology Apple macOS