Redis 6 : Use Redis Benchmark2021/09/21 |
It's possible to run a benchmark test with a tool included in Redis package.
|
|
[1] | Use redis-benchmark tool like follows. For others, there are some options to specify number of requests and so on, see [redis-benchmark --help]. |
root@dlp:~# redis-benchmark -h 10.0.0.30 -p 6379 ====== PING_INLINE ====== 100000 requests completed in 1.26 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 0.00% <= 0.1 milliseconds 0.01% <= 0.2 milliseconds 42.35% <= 0.3 milliseconds 91.76% <= 0.4 milliseconds 97.06% <= 0.5 milliseconds 99.05% <= 0.6 milliseconds 99.40% <= 0.7 milliseconds 99.59% <= 0.8 milliseconds 99.70% <= 0.9 milliseconds 99.77% <= 1.0 milliseconds 99.80% <= 1.1 milliseconds 99.81% <= 1.2 milliseconds 99.82% <= 1.3 milliseconds 99.83% <= 1.4 milliseconds 99.84% <= 1.5 milliseconds 99.85% <= 1.6 milliseconds 99.85% <= 1.7 milliseconds 99.86% <= 1.8 milliseconds 99.87% <= 1.9 milliseconds 99.87% <= 2 milliseconds 99.95% <= 3 milliseconds 99.99% <= 4 milliseconds 100.00% <= 4 milliseconds 79239.30 requests per second ====== PING_BULK ====== 100000 requests completed in 1.26 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.91% <= 1 milliseconds 99.95% <= 2 milliseconds 100.00% <= 2 milliseconds 79428.12 requests per second ====== SET ====== 100000 requests completed in 1.26 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.95% <= 1 milliseconds 99.98% <= 2 milliseconds 100.00% <= 2 milliseconds 79051.38 requests per second ====== GET ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.94% <= 1 milliseconds 100.00% <= 1 milliseconds 83682.01 requests per second ====== INCR ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.95% <= 1 milliseconds 100.00% <= 1 milliseconds 83402.84 requests per second ====== LPUSH ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.82% <= 1 milliseconds 99.95% <= 2 milliseconds 99.98% <= 4 milliseconds 100.00% <= 4 milliseconds 82440.23 requests per second ====== RPUSH ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.89% <= 1 milliseconds 99.98% <= 2 milliseconds 100.00% <= 2 milliseconds 82440.23 requests per second ====== LPOP ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.86% <= 1 milliseconds 99.93% <= 3 milliseconds 99.95% <= 4 milliseconds 99.98% <= 5 milliseconds 100.00% <= 5 milliseconds 82987.55 requests per second ====== RPOP ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.87% <= 1 milliseconds 99.93% <= 2 milliseconds 100.00% <= 2 milliseconds 82987.55 requests per second ====== SADD ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.91% <= 1 milliseconds 100.00% <= 1 milliseconds 83263.95 requests per second ====== HSET ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.95% <= 1 milliseconds 100.00% <= 2 milliseconds 100.00% <= 2 milliseconds 82508.25 requests per second ====== SPOP ====== 100000 requests completed in 1.23 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.93% <= 1 milliseconds 100.00% <= 2 milliseconds 100.00% <= 2 milliseconds 81632.65 requests per second ====== ZADD ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.95% <= 1 milliseconds 100.00% <= 1 milliseconds 82918.74 requests per second ====== ZPOPMIN ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.96% <= 1 milliseconds 100.00% <= 1 milliseconds 83472.46 requests per second ====== LPUSH (needed to benchmark LRANGE) ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.86% <= 1 milliseconds 99.97% <= 2 milliseconds 100.00% <= 2 milliseconds 83333.33 requests per second ====== LRANGE_100 (first 100 elements) ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.88% <= 1 milliseconds 99.97% <= 2 milliseconds 100.00% <= 2 milliseconds 83402.84 requests per second ====== LRANGE_300 (first 300 elements) ====== 100000 requests completed in 1.20 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.85% <= 1 milliseconds 99.95% <= 2 milliseconds 99.95% <= 6 milliseconds 100.00% <= 7 milliseconds 83542.19 requests per second ====== LRANGE_500 (first 450 elements) ====== 100000 requests completed in 1.18 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.93% <= 1 milliseconds 99.98% <= 2 milliseconds 100.00% <= 2 milliseconds 84388.19 requests per second ====== LRANGE_600 (first 600 elements) ====== 100000 requests completed in 1.21 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.87% <= 1 milliseconds 99.95% <= 2 milliseconds 99.95% <= 12 milliseconds 99.98% <= 13 milliseconds 100.00% <= 13 milliseconds 82372.32 requests per second ====== MSET (10 keys) ====== 100000 requests completed in 1.17 seconds 50 parallel clients 3 bytes payload keep alive: 1 multi-thread: no 99.90% <= 1 milliseconds 99.94% <= 2 milliseconds 100.00% <= 2 milliseconds 85397.09 requests per second |
Sponsored Link |