b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

swf加速 nginx优化压力测试(12)

电脑杂谈  发布时间:2018-02-14 01:42:38  来源:网络整理

Server Port: 80

Document Path: /index.html

Document Length: 612 bytes

Concurrency Level: 1000

Time taken for tests: 12.010 seconds

Complete requests: 100000

Failed requests: 0

Write errors: 0

Total transferred: 83600000 bytes

HTML transferred: 61200000 bytes

Requests per second: 8326.49 [#/sec] (mean)

Time per request: 120.099 [ms] (mean)

Time per request: 0.120 [ms] (mean, across all concurrent requests)

Transfer rate: 6797.80 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 1 53 8.9 53 82

Processing: 17 67 11.4 66 98

Waiting: 0 49 14.3 43 84

Total: 70 119 6.5 120 140

Percentage of the requests served within a certain time (ms)

50% 120

66% 122

75% 123

80% 124

90% 126

95% 128

98% 129

99% 130

100% 140 (longest request)

(5)xcache加速php

安装xcache

[root@CXW src]# wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz
[root@CXW src]# cd xcache-3.2.0/
[root@CXW xcache-3.2.0]# /usr/src/php5.6/bin/phpize

技术分享图片

[root@CXW xcache-3.2.0]# ./configure --enable-xcache --enable-xcache-coverager --enable-xcache-optimizer --with-php-config=/usr/src/php5.6/bin/php-config 
[root@CXW xcache-3.2.0]# make && make install
Installing shared extensions:

安装完成之后,出现下面的界面,记住以下路径,后面会用到

/usr/src/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
[root@CXW xcache-3.2.0]# touch /tmp/xcache
[root@CXW xcache-3.2.0]# chmod 777 /tmp/xcache


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/bofangqi/article-76432-12.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...