A tool to benchmark a Redis server. More information: https://redis.io/docs/reference/optimization/benchmarks/.…
A tool to benchmark a Redis server. More information: https://redis.io/docs/reference/optimization/benchmarks/.
redis-benchmark
redis-benchmark -h {{host}} -p {{port}} -a {{password}}
redis-benchmark -h {{host}} -p {{port}} -t {{set,lpush}} -n {{100000}}
redis-benchmark -n {{100000}} script load "{{redis.call('set', 'foo', 'bar')}}"
redis-benchmark -t {{set}} -r {{100000}}
redis-benchmark -n {{1000000}} -t {{set,get}} -P {{16}}
redis-benchmark -q