Understand the default Redis cluster configuration

The Bitnami Multi-Tier Solution for Redis® uses multiple VMs, consisting of 1 primary and 2 or more replicas, to provide a horizontally scalable and fault-tolerant deployment. Data automatically replicates from the primary node to all replicas. In addition to that, every virtual machine includes a Redis Sentinel to ensure high availability. Data persistence is optional and easy to enable.

By default, Redis® is set with the configuration below:

  • Replication: Primary instances can perform read/write operations that are replicated to the replica nodes to have the data available for read only queries.
  • (Optional) Persistence: You can choose between RDB + AOF (with a fsync “every second” policy) persistence or disable it at all. See the Redis official documentation about persistence for further information on this.
  • High Availability: This is achieved thanks to Redis Sentinel. In case of failure in the instances, the Sentinels will agree on select a new primary/replica configuration, to keep the deployment working. For more information, refer to the Redis Sentinel Documentation.
Last modification February 3, 2022