1 测试目的

了解redis在不同情况下的性能表现,并分析其性能瓶颈,找出相应的解决方案。

2 redis基准测试概览

运行下列命令可以了解自己的redis服务器的基本性能指标。
通过loopback进行redis基准测试时的结果:
root@redis bin]# ./redis-benchmark -c 1 -q
PING_INLINE: 24630.54 requests per second
PING_BULK: 25106.70 requests per second
SET: 25510.20 requests per second
GET: 25700.33 requests per second
INCR: 26164.31 requests per second
LPUSH: 22507.32 requests per second
RPUSH: 25163.56 requests per second
LPOP: 24189.65 requests per second
RPOP: 25188.92 requests per second
SADD: 26759.43 requests per second
HSET: 24679.17 requests per second
SPOP: 25940.34 requests per second
LPUSH (needed to benchmark LRANGE): 24606.30 requests per second
LRANGE_100 (first 100 elements): 18228.22 requests per second
LRANGE_300 (first 300 elements): 10919.42 requests per second
LRANGE_500 (first 450 elements): 9029.35 requests per second
LRANGE_600 (first 600 elements): 7458.79 requests per second
MSET (10 keys): 24330.90 requests per second

  

最新文章

  1. MongoDB备份(mongodump)和恢复(mongorestore)
  2. [ASP.NET MVC 小牛之路]04 - 依赖注入(DI)和Ninject
  3. ORACLE 10g 数据库体系结构图
  4. linux 删除进程的多种方法
  5. java程序
  6. linux常用查看日志命令
  7. AlarmManager手机闹钟简介
  8. pstack使用和原理
  9. 从浅到深掌握Oracle的锁
  10. WPF——菜单栏及TabControl
  11. pyqt5按钮计数
  12. struts2 <s:iterator> 遍历方法
  13. Hadoop 安装(3) JDK 的安装
  14. Python学习-使用matplotlib画动态多图
  15. JS中的模块规范(CommonJS,AMD,CMD)
  16. 使用 Gradle 编译 Java 项目时报错: Could not find Tools.jar
  17. linux下磁盘占用达到100%了,找不到哪些大文件耗尽了磁盘
  18. 炫丽的倒计时效果Canvas绘图与动画基础
  19. Dynamics 365 CE的插件/自定义工作流活动中调用Web API示例代码
  20. dat.gui stats.js 通用参数配置及图像统计工具

热门文章

  1. Spring Security Oauth2 : Possible CSRF detected
  2. string类型的解释与方法
  3. 在我的电脑中删除wps云文档图标
  4. VBA日期时间函数(十三)
  5. JavaScript CryptoJS库 加密与解密
  6. ssh免密登陆(简单快捷)
  7. Pycharm和Android工具之github使用
  8. 【亲测有效】vs2017无法断点
  9. JDBC课程4--使用PreparedStatement进行增删查改--封装进JDBCTools的功能中;模拟SQL注入 ; sql的date()传入参数值格式!
  10. P2746 P2812 [USACO5.3]校园网Network of Schools[SCC缩点]