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/