• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

Linode 1G 1024 CentOS7+Apache+PHP 负载能力ab测试

php 搞代码 4年前 (2022-01-23) 72次浏览 已收录 0个评论

使用的系统信息:

[root@localhost ~]# uname -aLinux localhost.localdomain 3.15.4-x86_64-linode45 #1 SMP Mon Jul 7 08:42:36 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux[root@localhost ~]# php -vPHP 5.4.16 (cli) (built: Aug  6 2014 13:12:28)Copyright (c) 1997-2013 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies[root@localhost ~]# httpd -vServer version: Apache/2.4.6 (CentOS)Server built:   Jul 23 2014 14:48:00[root@localhost ~]#

ab测试 phpinfo() 结果:吞吐量 759!

D:\wamp\bin\apache\apache2.4.9\bin>ab -n 100 -c 10 http://linode.zbphp.com/This is ApacheBench, Version 2.3 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/Licensed to The Apache Software Foundation, http://www.apache.org/Benchmarking linode.zbphp.com (be patient).....doneServer Software:        Apache/2.4.6Server Hostname:        linode.zbphp.comServer Port:            80Document Path:          /Document Length:        52627 bytesConcurrency Level:      10Time taken for tests:   7.592 secondsComplete requests:      100Failed requests:        14   (Connect: 0, Receive: 0, Length: 14, Exceptions: 0)Total transferred:      5280981 bytesHTML transferred:       5262681 bytesRequests per second:    13.17 [#/sec] (mean)Time per request:       759.206 [ms] (mean)Time per request:       75.921 [ms] (mean, across all concurrent requests)Transfer rate:          679.29 [Kbytes/sec] receivedConnection Times (ms)              min  mean[+/-sd] median   maxConnect:       60   73   4.7     70      80Processing:   208  635 101.4    660     690Waiting:       70  237 120.5    220     640Total:        279  708 101.5    740     770Percentage of the requests served within a certain time (ms)  50%    740  66%  

。本文来源gao!%daima.com搞$代*!码网1

搞代gaodaima码 740 75% 740 80% 745 90% 750 95% 760 98% 760 99% 770 100% 770 (longest request)D:\wamp\bin\apache\apache2.4.9\bin>

搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Linode 1G 1024 CentOS7+Apache+PHP 负载能力ab测试
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址