MySQL main standby switch
The database consists of a primary server and a backup server, which is run concurrently and synchronized to the backup server immediately after the master server has data changes. In daily operations, in order to anticipatory, the switch operation only needs to replace the IP of the database server in the connection pool with the IP of the backup server. Nginx High-Performance HTTP and reverse proxy service, can realize the primary and standby switching work.
Dual-Machine Hot standby
Dual-machine hot standby, especially based on two servers in a high-availability system (or high availability), because the two high-availability in the domestic use more, so the name of the dual-machine hot standby, dual-machine high-availability according to the work of switching mode is divided into: master-prepared Mode (Active-standby mode) and dual host mode (active-active mode), the primary-standby means that a server is in a certain business activation state (that is, the active state), and the other server is in the standby state of the business (that is, the standby state). The dual-host approach means that two different services are in the primary standby state (that is, the Active-standby and Standby-active states) on two servers respectively.
Load Balancing
Load Balance, which is distributed across multiple operating units for execution, to work together to accomplish tasks.
Primary and standby switching, dual-machine hot standby, load balancing, Nginx