这个vps太烂了?
ab -n 500 -k -c 50 http://www.mynet/
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.mynet (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Finished 500 requests
Server Software: Apache/2.4.6
Server Hostname: www.mynet
Server Port: 80
Document Path: /
Document Length: 0 bytes
Concurrency Level: 50
Time taken for tests: 65.799 seconds
Complete requests: 500
Failed requests: 0
Non-2xx responses: 500
Keep-Alive requests: 0
Total transferred: 123500 bytes
HTML transferred: 0 bytes
Requests per second: 7.60 [#/sec] (mean)
Time per request: 6579.858 [ms] (mean)
Time per request: 131.597 [ms] (mean, across all concurrent requests)
Transfer rate: 1.83 [Kbytes/sec] received
测试很多次,都是这个结果 Requests per second: 7.60 [#/sec] (mean)
我的vps供应商是否对我的vps进行了设定,只允许每秒实现8次左右的请求?
我在上面架了个wordpress.
这种性能,太差了吧?
有办法改善吗?
域名用 www.mynet 替代了
还有个问题
ab -n 500 -k -c 50 http://www.mynet/
ab命令中url必须表达成 http://www.mynet/,以/结尾。
url的定义里面并没有说一定要/结尾,一般都是没有结尾的/ ,请问,这样设计的理由是什么?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你这么测不准,完全看网速。。要么去服务器上测