请问redis-benchmark 出来这个数据如何, redis 版本是2.8.3

2013-12-31 22:08:16 +08:00
 zhfsxtx
====== PING_INLINE ======
10000 requests completed in 0.12 seconds
50 parallel clients
3 bytes payload
keep alive: 1

98.57% <= 1 milliseconds
100.00% <= 1 milliseconds
86206.90 requests per second

====== PING_BULK ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
102040.82 requests per second

====== SET ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
103092.78 requests per second

====== GET ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
102040.82 requests per second

====== INCR ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
104166.66 requests per second

====== LPUSH ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
103092.78 requests per second

====== LPOP ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
103092.78 requests per second

====== SADD ======
10000 requests completed in 0.09 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
105263.16 requests per second

====== SPOP ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
104166.66 requests per second

====== LPUSH (needed to benchmark LRANGE) ======
10000 requests completed in 0.10 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
104166.66 requests per second

====== LRANGE_100 (first 100 elements) ======
10000 requests completed in 0.20 seconds
50 parallel clients
3 bytes payload
keep alive: 1

100.00% <= 0 milliseconds
51020.41 requests per second

====== LRANGE_300 (first 300 elements) ======
10000 requests completed in 0.48 seconds
50 parallel clients
3 bytes payload
keep alive: 1

0.52% <= 1 milliseconds
99.87% <= 2 milliseconds
100.00% <= 2 milliseconds
20920.50 requests per second

====== LRANGE_500 (first 450 elements) ======
10000 requests completed in 0.67 seconds
50 parallel clients
3 bytes payload
keep alive: 1

0.22% <= 1 milliseconds
97.96% <= 2 milliseconds
99.14% <= 3 milliseconds
99.68% <= 4 milliseconds
100.00% <= 4 milliseconds
14992.50 requests per second

====== LRANGE_600 (first 600 elements) ======
10000 requests completed in 0.86 seconds
50 parallel clients
3 bytes payload
keep alive: 1

0.14% <= 1 milliseconds
13.42% <= 2 milliseconds
96.19% <= 3 milliseconds
97.93% <= 4 milliseconds
98.65% <= 5 milliseconds
99.30% <= 6 milliseconds
99.57% <= 7 milliseconds
99.79% <= 8 milliseconds
100.00% <= 8 milliseconds
11655.01 requests per second

====== MSET (10 keys) ======
10000 requests completed in 0.16 seconds
50 parallel clients
3 bytes payload
keep alive: 1

91.44% <= 1 milliseconds
99.79% <= 2 milliseconds
100.00% <= 2 milliseconds
64102.56 requests per second
4013 次点击
所在节点    Redis
4 条回复
griffinqiu
2013-12-31 22:29:43 +08:00
不行,ec2上的机器get和set随便测都有30k以上
VYSE
2013-12-31 22:49:44 +08:00
我这GET/SET这些只有7万,就等CLUSTER稳定下来了
zhfsxtx
2013-12-31 23:40:41 +08:00
@griffinqiu 晕,这才1万,那不 是差很多
griffinqiu
2013-12-31 23:42:50 +08:00
是的,在我们本地的DEV服务器也是70K,还是一个虚拟机。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/95233

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX