Redis02_redis-benchmark压力测试工具

Redis02_redis-benchmark压力测试工具


  • 测试100个并发连接,每个连接100000个请求
redis-benchmark -h localhost -p 6379 -c 100 -n 100000
  • 分析示例:
====== SET ======
  100000 requests completed in 1.22 seconds
  100 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 900 1 300 10 60 10000
  host configuration "appendonly": no
  multi-thread: no

68.88% <= 1 milliseconds
99.75% <= 2 milliseconds
99.87% <= 3 milliseconds
99.97% <= 4 milliseconds
100.00% <= 4 milliseconds
82304.52 requests per second
10w个请求
100个并发客户端
每次写入3个字节
只有一台服务器处理请求(单机)

1ms完成了68.88%
4ms完成100%
每秒处理了82304.52个请求

猜你喜欢

转载自blog.csdn.net/BLU_111/article/details/108268878