"Go" Linux next good site stress test tool Webbench

Source: Internet
Author: User

Original link: http://blog.csdn.net/xinqingch/article/details/8618704

Installation:

wget http://blog.s135.com/soft/linux/webbench/webbench-1.5. Tar.gztar zxvf webbench-1.5. tar.gzcd Webbench-1.5&& make install

If the webbench is compiled,/bin/sh:ctags:command not found appears as follows:

[[email protected]] # make cc-wall-ggdb-w   -O-C-infunction  ' Alarm_handler ': webbench.c: -wall-ggdb-w-o   -*. C/bin/127 (ignored)

Ctags components are not installed, use yum-y install ctags to solve the problem

If Ctags is installed, the error is still:

Install-s webbench/usr/local/-M 644 webbench.1/usr/local/man/man1install:cannot Create regular file ' /usr/local/man/* * [Install] Error 1

Workaround

Mkdir-m 644-p/usr/local/man/man1

How to use the installation?

Webbench-c 500-t http://127.0.0.1/test.jpg

Parameter description:-C for concurrency number,-T for time (seconds)

Sample test results:

Webbench-simple Web Benchmark 1.51997-2004, GPL Open Source Software.Benchmarking:GET http://127.0.0 .1/test.jpg-Clients, running- sec. speed =3230 pages/min, 11614212 bytes/1615 susceed, 0 failed.

Response Requests per second: 3230/60= X pages/sec, the amount of data transferred 11614212 bytes/sec per second.

When concurrency 1615 is displayed, there are 0 connections failed, indicating no load.


Add:

1, pressure and performance testing should be put on the product before the launch, rather than on-line after;
2, the test concurrency should be gradually increased by the small, such as 100 when observing the site load is how much, open the page is fluent, concurrency 200 is how much, the website is slow when the concurrency is how much, the site is not open when concurrency is how much;
3, a more detailed test of a page, such as e-commerce website can focus on testing shopping carts, promotional pages, etc., because these pages accounted for the overall site visits a large proportion.

Note: Webbench do stress and performance testing, the software itself will also consume CPU and memory resources, in order to test the accuracy, it is recommended to install Webbench on other servers, has reached the test data more accurate.

"Go" Linux next good site stress test tool Webbench

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.