Siege is an http regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It allows the user hit a web server with a configurable number of concurrent simulated users. Those users place the webserver "under siege."
這樣看說明可能看不太出來,Siege 與 ab 主要的差別在於同時發出的 Request 不一樣 (於是會比較逼近真實的情況)。
查了一下 FreeBSD Ports 裡面,發現在 benchmarks/siege 下面有,邊裝邊找中文的說明文件,在 Siege:压力模拟/测试工具 這篇裡面有很簡單的說明,等下來用 WWW::Mechanize 寫個小程式抓網頁 url 測試看看。
No comments:
Post a Comment