CentOS Stream 8
Sponsored Link

Redis 6 : Redis Benchmark を利用する2021/06/28

 
Redis パッケージに含まれるベンチマークツールを利用すると Redis サーバーのベンチマークを計測することができます。
[1] 計測対象のノードを指定して計測します。
他にもオプション指定することでリクエスト数等、細かな調整が可能です。
オプションは [redis-benchmark --help] で確認可能です。
[root@www ~]#
redis-benchmark -h 10.0.0.31 -p 6379

====== PING_INLINE ======
  100000 requests completed in 1.45 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 0.1 milliseconds
0.00% <= 0.2 milliseconds
1.53% <= 0.3 milliseconds
57.83% <= 0.4 milliseconds
79.02% <= 0.5 milliseconds
88.10% <= 0.6 milliseconds
93.82% <= 0.7 milliseconds
96.41% <= 0.8 milliseconds
97.76% <= 0.9 milliseconds
98.67% <= 1.0 milliseconds
99.36% <= 1.1 milliseconds
99.68% <= 1.2 milliseconds
99.80% <= 1.3 milliseconds
99.83% <= 1.4 milliseconds
99.85% <= 1.5 milliseconds
99.86% <= 1.6 milliseconds
99.86% <= 1.7 milliseconds
99.86% <= 1.8 milliseconds
99.87% <= 2 milliseconds
99.90% <= 3 milliseconds
100.00% <= 4 milliseconds
100.00% <= 4 milliseconds
68965.52 requests per second

====== PING_BULK ======
  100000 requests completed in 1.45 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

98.89% <= 1 milliseconds
99.95% <= 6 milliseconds
99.98% <= 7 milliseconds
100.00% <= 7 milliseconds
69013.11 requests per second

====== SET ======
  100000 requests completed in 1.46 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

98.76% <= 1 milliseconds
99.92% <= 2 milliseconds
99.93% <= 3 milliseconds
99.94% <= 4 milliseconds
100.00% <= 5 milliseconds
68446.27 requests per second

====== GET ======
  100000 requests completed in 1.79 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.48% <= 1 milliseconds
99.86% <= 2 milliseconds
99.93% <= 3 milliseconds
99.98% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 5 milliseconds
55834.73 requests per second

====== INCR ======
  100000 requests completed in 1.81 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.42% <= 1 milliseconds
99.88% <= 2 milliseconds
99.93% <= 7 milliseconds
99.93% <= 8 milliseconds
99.96% <= 9 milliseconds
99.99% <= 10 milliseconds
100.00% <= 10 milliseconds
55309.73 requests per second

====== LPUSH ======
  100000 requests completed in 1.78 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.52% <= 1 milliseconds
99.92% <= 3 milliseconds
99.94% <= 4 milliseconds
99.96% <= 5 milliseconds
99.99% <= 6 milliseconds
100.00% <= 6 milliseconds
56022.41 requests per second

====== RPUSH ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.74% <= 1 milliseconds
99.97% <= 2 milliseconds
99.98% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 5 milliseconds
56497.18 requests per second

====== LPOP ======
  100000 requests completed in 1.78 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.86% <= 1 milliseconds
99.95% <= 3 milliseconds
100.00% <= 3 milliseconds
56053.81 requests per second

====== RPOP ======
  100000 requests completed in 1.76 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.95% <= 1 milliseconds
100.00% <= 1 milliseconds
56657.22 requests per second

====== SADD ======
  100000 requests completed in 1.78 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.91% <= 1 milliseconds
100.00% <= 1 milliseconds
56242.97 requests per second

====== HSET ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

95.25% <= 1 milliseconds
99.98% <= 7 milliseconds
100.00% <= 7 milliseconds
56625.14 requests per second

====== SPOP ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

95.18% <= 1 milliseconds
100.00% <= 1 milliseconds
56497.18 requests per second

====== ZADD ======
  100000 requests completed in 1.78 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.87% <= 1 milliseconds
99.98% <= 7 milliseconds
100.00% <= 7 milliseconds
56179.78 requests per second

====== ZPOPMIN ======
  100000 requests completed in 1.78 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.52% <= 1 milliseconds
99.91% <= 2 milliseconds
99.95% <= 3 milliseconds
99.95% <= 5 milliseconds
99.96% <= 6 milliseconds
99.96% <= 7 milliseconds
99.96% <= 8 milliseconds
99.97% <= 9 milliseconds
99.98% <= 10 milliseconds
100.00% <= 10 milliseconds
56242.97 requests per second

====== LPUSH (needed to benchmark LRANGE) ======
  100000 requests completed in 1.79 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.38% <= 1 milliseconds
99.93% <= 2 milliseconds
99.96% <= 3 milliseconds
99.98% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 5 milliseconds
55928.41 requests per second

====== LRANGE_100 (first 100 elements) ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.20% <= 1 milliseconds
100.00% <= 1 milliseconds
56593.10 requests per second

====== LRANGE_300 (first 300 elements) ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.16% <= 1 milliseconds
99.95% <= 3 milliseconds
100.00% <= 3 milliseconds
56465.27 requests per second

====== LRANGE_500 (first 450 elements) ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.31% <= 1 milliseconds
100.00% <= 1 milliseconds
56593.10 requests per second

====== LRANGE_600 (first 600 elements) ======
  100000 requests completed in 1.77 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

94.23% <= 1 milliseconds
99.95% <= 2 milliseconds
99.97% <= 3 milliseconds
100.00% <= 3 milliseconds
56529.11 requests per second

====== MSET (10 keys) ======
  100000 requests completed in 1.80 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

91.26% <= 1 milliseconds
100.00% <= 1 milliseconds
55555.56 requests per second
関連コンテンツ