redis-benchmark压测数据
[root@XXXbin]# redis-benchmark -h localhost -p 6379 -c 100 -n 100000
====== PING_INLINE ======
100000 requests completed in 1.25 seconds
100 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.2 milliseconds
0.00% <= 0.3 milliseconds
0.02% <= 0.4 milliseconds
0.97% <= 0.5 milliseconds
32.35% <= 0.6 milliseconds
90.33% <= 0.7 milliseconds
97.42% <= 0.8 milliseconds
98.62% <= 0.9 milliseconds
99.01% <= 1.0 milliseconds
99.25% <= 1.1 milliseconds
99.41% <= 1.2 milliseconds
99.49% <= 1.3 milliseconds
99.54% <= 1.4 milliseconds
99.55% <= 1.5 milliseconds
99.56% <= 1.6 milliseconds
99.56% <= 1.7 milliseconds
99.57% <= 1.8 milliseconds
99.58% <= 1.9 milliseconds
99.60% <= 2 milliseconds
99.82% <= 3 milliseconds
99.93% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 5 milliseconds
80321.28 requests per second
====== PING_BULK ======
100000 requests completed in 1.28 seconds
100 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.61% <= 1 milliseconds
99.98% <= 2 milliseconds
100.00% <= 2 milliseconds
78064.01 requests per second
====== SET ======
100000 requests completed in 1.27 seconds
100 parallel clients # 每次请求有100个并发客户端
3 bytes payload # 每次写入 3 个字节的数据
keep alive: 1
host configuration "save": 900 1 300 10 60 10000 # 持久化策略
host configuration "appendonly": no
multi-thread: no
98.84% <= 1 milliseconds
99.89% <= 2 milliseconds
100.00% <= 2 milliseconds # 所有的请求在2毫秒内完成
78492.93 requests per second #每秒处理请求书
====== GET ======
100000 requests completed in 1.25 seconds
100 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.80% <= 1 milliseconds
99.87% <= 2 milliseconds
99.99% <= 3 milliseconds
100.00% <= 3 milliseconds
79808.46 requests per second
====== INCR ======
100000 requests completed in 1.27 seconds
100 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.93% <= 2 milliseconds
100.00% <= 2 milliseconds
78431.38 requests per second
====== LPUSH ======
100000 requests completed in 1.25 seconds
100 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.64% <= 1 milliseconds
99.74% <= 2 milliseconds
99.99% <= 3 milliseconds
100.00% <= 3 milliseconds
79936.05 requests per second
====== RPUSH ======
100000 requests completed in 1.28 seconds
100 parallel clients
3 bytes payload
keep alive: 1
host configuration "save": 900 1 300 10 60 10000
host configuration "appendonly": no
multi-thread: no
97.50% <= 1 milliseconds
99.39% <= 2 milliseconds
99.96% <= 3 milliseconds
100.00% <= 3 milliseconds
77942.32 requests per second
====== LPOP ======
100000 requests completed in 1.28 seconds
100 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.48% <= 1 milliseconds
99.48% <= 2 milliseconds
99.82% <= 3 milliseconds
99.96% <= 4 milliseconds
100.00% <= 5 milliseconds
77821.02 requests per second
====== RPOP ======
100000 requests completed in 1.25 seconds
100 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.36% <= 1 milliseconds
99.94% <= 2 milliseconds
100.00% <= 2 milliseconds
79872.20 requests per second
====== SADD ======
100000 requests completed in 1.32 seconds
100 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.91% <= 1 milliseconds
99.75% <= 2 milliseconds
99.99% <= 3 milliseconds
100.00% <= 3 milliseconds
75528.70 requests per second
====== HSET ======
100000 requests completed in 1.26 seconds
100 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.90% <= 1 milliseconds
99.95% <= 2 milliseconds
100.00% <= 2 milliseconds
79051.38 requests per second
====== SPOP ======
100000 requests completed in 1.28 seconds
100 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.74% <= 1 milliseconds
99.83% <= 2 milliseconds
99.98% <= 3 milliseconds
100.00% <= 3 milliseconds
77881.62 requests per second
====== LPUSH (needed to benchmark LRANGE) ======
100000 requests completed in 1.26 seconds
100 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.82% <= 1 milliseconds
99.90% <= 2 milliseconds
100.00% <= 2 milliseconds
79554.50 requests per second
====== LRANGE_100 (first 100 elements) ======
100000 requests completed in 2.04 seconds
100 parallel clients
3 bytes payload
keep alive: 1
host configuration "save": 900 1 300 10 60 10000
host configuration "appendonly": no
multi-thread: no
37.76% <= 1 milliseconds
99.89% <= 2 milliseconds
99.99% <= 3 milliseconds
100.00% <= 3 milliseconds
49140.05 requests per second
====== LRANGE_300 (first 300 elements) ======
100000 requests completed in 4.28 seconds
100 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% <= 1 milliseconds
26.28% <= 2 milliseconds
99.37% <= 3 milliseconds
99.77% <= 4 milliseconds
99.88% <= 5 milliseconds
99.93% <= 6 milliseconds
99.99% <= 7 milliseconds
100.00% <= 7 milliseconds
23375.41 requests per second
====== LRANGE_500 (first 450 elements) ======
100000 requests completed in 5.70 seconds
100 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% <= 1 milliseconds
0.07% <= 2 milliseconds
68.11% <= 3 milliseconds
99.63% <= 4 milliseconds
99.82% <= 5 milliseconds
99.89% <= 6 milliseconds
99.93% <= 7 milliseconds
99.97% <= 8 milliseconds
99.98% <= 9 milliseconds
99.99% <= 10 milliseconds
100.00% <= 10 milliseconds
17534.63 requests per second
====== LRANGE_600 (first 600 elements) ======
100000 requests completed in 7.10 seconds
100 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% <= 1 milliseconds
0.01% <= 2 milliseconds
6.85% <= 3 milliseconds
88.78% <= 4 milliseconds
99.48% <= 5 milliseconds
99.80% <= 6 milliseconds
99.89% <= 7 milliseconds
99.93% <= 8 milliseconds
99.96% <= 9 milliseconds
99.98% <= 10 milliseconds
99.99% <= 11 milliseconds
100.00% <= 12 milliseconds
100.00% <= 12 milliseconds
14078.56 requests per second
====== MSET (10 keys) ======
100000 requests completed in 1.30 seconds
100 parallel clients
3 bytes payload
keep alive: 1
host configuration "save": 900 1 300 10 60 10000
host configuration "appendonly": no
multi-thread: no
81.01% <= 1 milliseconds
99.85% <= 2 milliseconds
100.00% <= 2 milliseconds
76923.08 requests per second