RedisReplication Posted on 2020-08-10 Edited on 2024-07-03 In Redis Views: Disqus: Symbols count in article: 511 Reading time ≈ 1 mins.RedisReplication按照Redis官方文件(https://redis.io/topics/replication)介紹,Redis Replication是一種Master-Slave模式的Copy機制,這個機制讓Slave node可以變成和Master node完全相同的複本。What’s Redis Replication Solution?12Replication can be used both for scalability, in order to have multiple slaves for read-only queries(for example, slow O(N) operations can be offloaded to slaves), or simply for improving data safety and high availability.multiple slaves for read-only queries1Master專門用來write,多個Slave用於分攤Read的壓力。High Availability1若Master掛了,可以promote其中一個Slave成為新的Master,進而實現故障轉移(failover)。