Hi,
We have 3 machines for redis each having 256 GB RAM and 40 cores.
What is the best way to design a high performing redis cluster?
We are planning to have a replication of 1, so 1 slave per master.
Also considering redis is singlethreaded(and we may think of lua scripting somewhere down the line), we want to utilize multiple CPUs, we are thinking of having 10 masters + 10 slaves on each machine, so that 20 cores can be utilized, and maxmemory for each instance to be 12 GB, so that a total of 20*12 = 240 GB can be used on each machine.
It will be done on all the three machines.
Or is having 20 instances on each machine(10 masters+10 slaves) with 12 GB memory for each an overkill and we should have may be 5 masters + 5 slaves with 24 GB for each, or run it as 1 master + 1 slave (with 120 GB for each) in the extreme case.
Somehow there seems to be little documentation on whether increasing the instances will be very helpful, or the ideal amount of RAM for a single instance in redis.
thanks