启用redis前后性能测试
测试机 阿里云ecs,配置如下
CPU: 2核 内存: 2GB 数据盘: 50G 带宽: 1Mbps
//开启redis前,一直是200左右 [root@iZ25k352g7nZ benchmark]# http_load -p 100 -s 10 thriller.app 1987 fetches, 100 max parallel, 1.56598e+07 bytes, in 10 seconds 7881.13 mean bytes/connection 198.7 fetches/sec, 1.56598e+06 bytes/sec msecs/connect: 0.176712 mean, 82.54 max, 0.03 min msecs/first-response: 483.26 mean, 670.15 max, 82.54 min HTTP response codes: code 200 -- 1987