Created
January 9, 2018 16:56
-
-
Save toritori0318/c1638be83081a84550c7c2912c6630e0 to your computer and use it in GitHub Desktop.
redis-benchmark: 4.9.58-18.55.amzn1.x86_64: c4.large: redis-2.8.24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ redis-cli -n 1 flushdb | |
############################################################################################### | |
$ redis-benchmark --dbnum 1 | |
====== PING_INLINE ====== | |
100000 requests completed in 0.78 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.88% <= 1 milliseconds | |
99.97% <= 2 milliseconds | |
100.00% <= 2 milliseconds | |
128040.97 requests per second | |
====== PING_BULK ====== | |
100000 requests completed in 0.77 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
129701.68 requests per second | |
====== SET ====== | |
100000 requests completed in 0.77 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.95% <= 1 milliseconds | |
100.00% <= 1 milliseconds | |
129198.97 requests per second | |
====== GET ====== | |
100000 requests completed in 0.77 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
129870.13 requests per second | |
====== INCR ====== | |
100000 requests completed in 0.76 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 1 milliseconds | |
100.00% <= 1 milliseconds | |
131061.59 requests per second | |
====== LPUSH ====== | |
100000 requests completed in 0.76 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
131233.59 requests per second | |
====== LPOP ====== | |
100000 requests completed in 0.76 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
131926.12 requests per second | |
====== SADD ====== | |
100000 requests completed in 0.77 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.97% <= 1 milliseconds | |
100.00% <= 1 milliseconds | |
130548.30 requests per second | |
====== SPOP ====== | |
100000 requests completed in 0.76 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
130890.05 requests per second | |
====== LPUSH (needed to benchmark LRANGE) ====== | |
100000 requests completed in 0.76 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
100.00% <= 0 milliseconds | |
131406.05 requests per second | |
====== LRANGE_100 (first 100 elements) ====== | |
100000 requests completed in 2.89 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.98% <= 1 milliseconds | |
100.00% <= 1 milliseconds | |
34602.07 requests per second | |
====== LRANGE_300 (first 300 elements) ====== | |
100000 requests completed in 7.18 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
0.05% <= 1 milliseconds | |
95.02% <= 2 milliseconds | |
100.00% <= 3 milliseconds | |
100.00% <= 3 milliseconds | |
13923.70 requests per second | |
====== LRANGE_500 (first 450 elements) ====== | |
100000 requests completed in 9.27 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
0.04% <= 1 milliseconds | |
3.03% <= 2 milliseconds | |
99.91% <= 3 milliseconds | |
100.00% <= 4 milliseconds | |
100.00% <= 4 milliseconds | |
10789.81 requests per second | |
====== LRANGE_600 (first 600 elements) ====== | |
100000 requests completed in 10.95 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
0.01% <= 1 milliseconds | |
0.31% <= 2 milliseconds | |
97.85% <= 3 milliseconds | |
100.00% <= 4 milliseconds | |
100.00% <= 4 milliseconds | |
9130.75 requests per second | |
====== MSET (10 keys) ====== | |
100000 requests completed in 1.42 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
97.54% <= 1 milliseconds | |
99.95% <= 2 milliseconds | |
99.99% <= 3 milliseconds | |
100.00% <= 3 milliseconds | |
70621.47 requests per second | |
############################################################################################### | |
$ redis-benchmark -t set -n 1000000 -r 100000000 --dbnum 1 | |
====== SET ====== | |
1000000 requests completed in 8.16 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.88% <= 1 milliseconds | |
99.91% <= 2 milliseconds | |
100.00% <= 2 milliseconds | |
122534.00 requests per second | |
############################################################################################### | |
$ redis-benchmark -r 1000000 -n 1000000 --dbnum 1 lpush mylist __rand_int__ | |
====== lpush mylist __rand_int__ ====== | |
1000000 requests completed in 7.68 seconds | |
50 parallel clients | |
3 bytes payload | |
keep alive: 1 | |
99.98% <= 1 milliseconds | |
100.00% <= 2 milliseconds | |
100.00% <= 3 milliseconds | |
100.00% <= 3 milliseconds | |
130174.43 requests per second | |
############################################################################################### | |
$ redis-benchmark -d 1024 -n 30000 -r 30000 -c 100 --dbnum 1 -q | |
PING_INLINE: 123966.95 requests per second | |
PING_BULK: 121457.49 requests per second | |
SET: 111524.16 requests per second | |
GET: 116279.08 requests per second | |
INCR: 125000.00 requests per second | |
LPUSH: 126050.41 requests per second | |
LPOP: 119521.92 requests per second | |
SADD: 124481.33 requests per second | |
SPOP: 123966.95 requests per second | |
LPUSH (needed to benchmark LRANGE): 125523.02 requests per second | |
LRANGE_100 (first 100 elements): 9930.49 requests per second | |
LRANGE_300 (first 300 elements): 2904.44 requests per second | |
LRANGE_500 (first 450 elements): 1776.72 requests per second | |
LRANGE_600 (first 600 elements): 1134.52 requests per second | |
MSET (10 keys): 43988.27 requests per second |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment