Redis Cluster : Memory size setup

59 views
Skip to first unread message

Guru Prasad

unread,
Jan 11, 2022, 3:43:07 AM1/11/22
to Redis DB
Hi There,

I would need your suggestions on memory configuration.

I'm planning to create a new redis cluster in a dedicated server (using docker).

There would 6 nodes (3 master + 3 replicas) in this cluster. The server will have a 16GB RAM.

During node creation, each node should have its own redis.conf. However, below link says (in example 3), If we set the max memory limit to 6GB, 3GB would be used by primary/master nodes and remaining would be used by replicas.
Since we use separate configuration file for each node, where should we set max memory limit for entire cluster ?. And not sure how to proceed with this memory configuration for production grade environment.

https://docs.redis.com/latest/rs/concepts/memory-performance/memory-limit/


Please share your thoughts on this setup and let me know if you need any more details from my side.
Reply all
Reply to author
Forward
0 new messages