brew install keydb
brew tap redis-stack/redis-stack
brew install redis-stack
Host: keydb-a-master
External Port: 6379
Host: keydb-b-master
External Port: 16379
Crossed between servers
Master A
replicaof keydb-b-master 6379
Master B
replicaof keydb-a-master 6379
Both servers
active-replica yes
redis-benchmark -p 6379 -n 1000000 -d 1024 -P 50 -c 100 -t set,get -q