I am using redis-benchmark to compare performance b/w single redis node with a slave Vs a redis cluster with 3 masters and 3 slaves.
Case 1: The ./redis-benchmark -h single_node_master_host -p port -n 1000000 -t ping - ~46K ops
Case 2: ./redis-benchmark -h master_1_host -p port -n 1000000 -t ping - ~32K ops
./redis-benchmark -h master_2_host -p port -n 1000000 -t ping - ~30K ops
./redis-benchmark -h master_3_host -p port -n 1000000 -t ping - ~31K ops
The benchmarks in case 2 are run from 3 different machines to avoid resource contention issue.
What are the possible causes of this performance different b/w single redis instance Vs nodes in redis-cluster?