Master-slave replication of Redis database
Master-slave replication of Redis database
I. Overview of master-slave replication
Second, synchronous detailed explanation
Case: configure master-slave replication
1. An overview of master-slave replication:
Summary: in order to share the read and write pressure, Redis supports master-slave replication. The master-slave structure of Redis can adopt an one-master-multi-slave or cascade structure. Redis master-slave replication can be divided into full synchronization and incremental synchronization according to whether it is full or not. The following picture shows a cascade structure.