前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Redis 性能测试

Redis 性能测试

作者头像
WindWant
发布2020-09-11 11:30:02
6260
发布2020-09-11 11:30:02
举报
文章被收录于专栏:后端码事

测试命令:

代码语言:javascript
复制
.\redis-benchmark.exe -n 100

测试结果:

代码语言:javascript
复制
====== PING_INLINE ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
64.00% <= 1 milliseconds
100.00% <= 1 milliseconds
50000.00 requests per second
 
====== PING_BULK ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
54.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== SET ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
51.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== GET ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
79.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== INCR ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
53.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== LPUSH ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
84.00% <= 1 milliseconds
100.00% <= 1 milliseconds
50000.00 requests per second
 
====== LPOP ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
58.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== SADD ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
51.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== SPOP ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
82.00% <= 1 milliseconds
100.00% <= 1 milliseconds
99999.99 requests per second
 
====== LPUSH (needed to benchmark LRANGE) ====
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
59.00% <= 1 milliseconds
100.00% <= 1 milliseconds
50000.00 requests per second
 
====== LRANGE_100 (first 100 elements) ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
31.00% <= 1 milliseconds
100.00% <= 2 milliseconds
50000.00 requests per second
 
====== LRANGE_300 (first 300 elements) ======
  100 requests completed in 0.01 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
8.00% <= 1 milliseconds
55.00% <= 2 milliseconds
89.00% <= 3 milliseconds
100.00% <= 3 milliseconds
16666.67 requests per second
 
====== LRANGE_500 (first 450 elements) ======
  100 requests completed in 0.01 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
1.00% <= 1 milliseconds
28.00% <= 2 milliseconds
66.00% <= 3 milliseconds
86.00% <= 4 milliseconds
100.00% <= 5 milliseconds
11111.11 requests per second
 
====== LRANGE_600 (first 600 elements) ======
  100 requests completed in 0.01 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
1.00% <= 1 milliseconds
12.00% <= 2 milliseconds
43.00% <= 3 milliseconds
67.00% <= 4 milliseconds
80.00% <= 5 milliseconds
96.00% <= 6 milliseconds
100.00% <= 6 milliseconds
9090.91 requests per second
 
====== MSET (10 keys) ======
  100 requests completed in 0.00 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
 
14.00% <= 1 milliseconds
100.00% <= 1 milliseconds
50000.00 requests per second
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2018-03-27 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
腾讯云服务器利旧
云服务器(Cloud Virtual Machine,CVM)提供安全可靠的弹性计算服务。 您可以实时扩展或缩减计算资源,适应变化的业务需求,并只需按实际使用的资源计费。使用 CVM 可以极大降低您的软硬件采购成本,简化 IT 运维工作。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档