Redis 功能测验ITeye - 千亿集团

Redis 功能测验ITeye

2019-01-10 11:07:21 | 作者: 鸿运 | 标签: 功能,测验,一起 | 浏览: 1164

<p>        Redis 功能测验是经过一起履行多个指令完成的。</p> <p>        Redis 功能测验的根本指令如下:</p> <pre>redis-benchmark [option] [option value]</pre> <p>        以下实例一起履行 1000 个恳求来检测功能:</p> <pre>redis-benchmark -h 172.19.24.222 -p 6381 -c 100 -n 1000 ====== PING_INLINE ====== 1000 requests completed in 0.04 seconds 100 parallel clients 3 bytes payload keep alive: 1 0.10% = 1 milliseconds 48.30% = 2 milliseconds 98.80% = 3 milliseconds 100.00% = 3 milliseconds 26315.79 requests per second ====== PING_BULK ====== 1000 requests completed in 0.04 seconds 100 parallel clients 3 bytes payload keep alive: 1 0.10% = 1 milliseconds 59.40% = 2 milliseconds 99.50% = 3 milliseconds 100.00% = 3 milliseconds 27027.03 requests per second ====== SET ====== 1000 requests completed in 0.04 seconds 100 parallel clients 3 bytes payload keep alive: 1 0.10% = 1 milliseconds 54.70% = 2 milliseconds 93.80% = 3 milliseconds 99.80% = 4 milliseconds 100.00% = 4 milliseconds 27777.78 requests per second ====== GET ====== 1000 requests completed in 0.03 seconds 100 parallel clients 3 bytes payload keep alive: 1 0.10% = 1 milliseconds 76.40% = 2 milliseconds 100.00% = 2 milliseconds 33333.34 requests per second ....省掉 ====== MSET (10 keys) ====== 1000 requests completed in 0.04 seconds 100 parallel clients 3 bytes payload keep alive: 1 0.10% = 1 milliseconds 27.70% = 2 milliseconds 96.80% = 3 milliseconds 100.00% = 3 milliseconds 25000.00 requests per second</pre> <p>        Redis 功能测验东西可选参数如下:</p>
版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表千亿集团立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章

阅读排行

  • 1

    case句子的用法ITeye

    句子,函数,用法
  • 2

    mysqlITeye

    装置,数据库
  • 3

    exceptionITeye

    成果,形似,有点
  • 4
  • 5

    mysql的count函数优化ITeye

    索引,优化,情况
  • 6
  • 7

    DB2锁机制ITeye

    机制,程序,数据
  • 8

    oracle功能优化总结ITeye

    索引,视图,优化
  • 9

    oracle存储进程ITeye

    存储,进程,数据
  • 10

    Oracle中rownum、rowid、rowITeye

    相同,记载,排名