LEN

Redis 测试工具 redis-benchmark
Redis 测试工具 redis-benchmark测试demo 如下redis-benchmark -t za...
扫描右侧二维码阅读全文
18
2018/12

Redis 测试工具 redis-benchmark

Redis 测试工具 redis-benchmark

测试demo 如下

redis-benchmark -t zadd,lpush,brpoplpush,rpop -n 100000

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

99.95% <= 1 milliseconds
100.00% <= 1 milliseconds
160771.70 requests per second

====== RPOP ======
  100000 requests completed in 0.64 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

100.00% <= 0 milliseconds
156494.52 requests per second
最后修改:2018 年 12 月 18 日 01 : 09 PM
如果觉得我的文章对你有用,请随意赞赏

发表评论