基准testing和负载testingWeb服务器的提示?

我试图基准和加载testing各种networking服务器设置(mod_php与PHP为FastCGI,最大/最小工人/线程configuration,等等)。 我以ab开头,但会对其他推荐的工具感兴趣。 Web服务器是一个Linux服务器,但是如果需要,我可以从我的台式机上运行基于Windows的testing工具。

我也对技术方面的任何build议感兴趣。 例如:

任何其他提示?

我喜欢build立一个运行围攻的电脑教室。

我使用wget一次抓取网站

wget -r -l0 -np -O /dev/null http://domainname.com // Note that the -l0 means that it will recurse infinitly, depending on your site, // you might want to change that to something lower, say ... -l3 // This will crawl the site, and throw all the contents away. 

然后我使用一个像这样的oneliner从serverlog中获取所有唯一的URL:

 awk '{ print "http://domainname.com"$7 }' access.log | sort | uniq 

然后围攻可以设置使用这个文件,然后将尝试随机顺序。

 siege -f siegeurls -i -b 

它也可以configuration为发送各种头文件,设置useragent和whatnot。

我build议你看看围攻。 这是我自己testing网站时使用的设置。