Ubuntu 22.04
Sponsored Link

Redis 6 : Redis बेंचमार्क का प्रयोग करें2023/09/14

 
Redis पैकेज में शामिल टूल के साथ बेंचमार्क परीक्षण चलाना संभव है।
[1] redis-benchmark टूल का उपयोग इस प्रकार करें।
दूसरों के लिए, अनुरोधों की संख्या आदि निर्दिष्ट करने के लिए कुछ विकल्प हैं,
[redis-benchmark --help] देखें।
root@dlp:~#
redis-benchmark -h 10.0.0.30 -p 6379 -a password

====== PING_INLINE ======
  100000 requests completed in 1.18 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.02% <= 0.2 milliseconds
64.73% <= 0.3 milliseconds
95.47% <= 0.4 milliseconds
98.94% <= 0.5 milliseconds
99.69% <= 0.6 milliseconds
99.85% <= 0.7 milliseconds
99.86% <= 0.8 milliseconds
99.88% <= 0.9 milliseconds
99.95% <= 1.0 milliseconds
99.95% <= 1.2 milliseconds
99.95% <= 1.3 milliseconds
99.96% <= 1.4 milliseconds
99.97% <= 1.5 milliseconds
99.97% <= 1.6 milliseconds
99.98% <= 1.7 milliseconds
99.98% <= 1.8 milliseconds
99.99% <= 1.9 milliseconds
99.99% <= 2 milliseconds
100.00% <= 2 milliseconds
84961.77 requests per second

====== PING_BULK ======
  100000 requests completed in 1.15 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

99.93% <= 1 milliseconds
99.95% <= 4 milliseconds
100.00% <= 4 milliseconds
87108.02 requests per second

====== SET ======
  100000 requests completed in 1.65 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

99.78% <= 1 milliseconds
99.96% <= 2 milliseconds
100.00% <= 2 milliseconds
60679.61 requests per second

====== GET ======
  100000 requests completed in 1.17 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

99.91% <= 1 milliseconds
100.00% <= 1 milliseconds
85251.49 requests per second

====== INCR ======
  100000 requests completed in 1.59 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

99.86% <= 1 milliseconds
100.00% <= 1 milliseconds
62814.07 requests per second

====== LPUSH ======
  100000 requests completed in 1.42 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

99.98% <= 1 milliseconds
100.00% <= 1 milliseconds
70571.62 requests per second

====== RPUSH ======
  100000 requests completed in 1.44 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

99.95% <= 1 milliseconds
100.00% <= 1 milliseconds
69541.03 requests per second

====== LPOP ======
  100000 requests completed in 1.42 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

99.91% <= 1 milliseconds
99.97% <= 2 milliseconds
100.00% <= 2 milliseconds
70571.62 requests per second

====== RPOP ======
  100000 requests completed in 1.40 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

99.93% <= 1 milliseconds
100.00% <= 1 milliseconds
71479.62 requests per second

====== SADD ======
  100000 requests completed in 1.16 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

99.95% <= 1 milliseconds
100.00% <= 1 milliseconds
85910.65 requests per second

====== HSET ======
  100000 requests completed in 1.35 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

99.90% <= 1 milliseconds
100.00% <= 1 milliseconds
74349.44 requests per second

====== SPOP ======
  100000 requests completed in 1.19 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

99.95% <= 1 milliseconds
100.00% <= 1 milliseconds
84104.29 requests per second

====== ZADD ======
  100000 requests completed in 1.15 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

99.95% <= 1 milliseconds
100.00% <= 1 milliseconds
87108.02 requests per second

====== ZPOPMIN ======
  100000 requests completed in 1.17 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

99.96% <= 1 milliseconds
100.00% <= 1 milliseconds
85397.09 requests per second

====== LPUSH (needed to benchmark LRANGE) ======
  100000 requests completed in 1.51 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

99.91% <= 1 milliseconds
100.00% <= 1 milliseconds
66225.16 requests per second

====== LRANGE_100 (first 100 elements) ======
  100000 requests completed in 1.65 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

99.84% <= 1 milliseconds
100.00% <= 2 milliseconds
100.00% <= 2 milliseconds
60569.35 requests per second

====== LRANGE_300 (first 300 elements) ======
  100000 requests completed in 3.61 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

93.30% <= 1 milliseconds
99.96% <= 2 milliseconds
99.98% <= 3 milliseconds
100.00% <= 4 milliseconds
27685.49 requests per second

====== LRANGE_500 (first 450 elements) ======
  100000 requests completed in 5.18 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.16% <= 1 milliseconds
99.89% <= 2 milliseconds
99.95% <= 3 milliseconds
99.97% <= 4 milliseconds
100.00% <= 4 milliseconds
19316.21 requests per second

====== LRANGE_600 (first 600 elements) ======
  100000 requests completed in 6.38 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.01% <= 1 milliseconds
99.63% <= 2 milliseconds
99.96% <= 3 milliseconds
99.97% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 6 milliseconds
15681.36 requests per second

====== MSET (10 keys) ======
  100000 requests completed in 1.13 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

99.88% <= 1 milliseconds
99.97% <= 2 milliseconds
100.00% <= 2 milliseconds
88339.23 requests per second
मिलान सामग्री