2019年11月1日
摘要: redis 的方案 php / 测试并发操作 @author zhsngq @date 2019 11 01 @return / public function actionTest() { $tr = Yii::$app db beginTransaction(); try { $sql = "I 阅读全文
posted @ 2019-11-01 11:43 零度91 阅读(148) 评论(1) 推荐(0) 编辑
摘要: 一共一百次请求,每次10个 ab -c 10 -n 100 -H "auth:token" http://..../ 先用10个并发压测100秒。 ab -t 100 -c 10 'http://localhost:8083/xxxx?uid=1233435&did=123456789&appId= 阅读全文
posted @ 2019-11-01 09:34 零度91 阅读(114) 评论(0) 推荐(0) 编辑