Http_load Benchmark test (full-station test)

Source: Internet
Author: User
Tags benchmark

Http_load (whole-station test)

Http_load is an open source tool for stress testing on a website that runs on a Linux operating system.

: http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz

Http_load runs the throughput and load of the test site server in parallel multiplexing, it can run as a single process, so it doesn't kill your client, which is different from most stress testing tools, and it can also test HTTPS pages.
To start the installation:
#wget http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz
# tar ZXVF http_load-12mar2006.tar.gz
# CD http_load-12mar2006
# make
Installation process:


First create a Urls.txt file, add the URL to test the address, in order to break the split, here is to note that because we are talking about testing MySQL, so your page must exist MySQL operation statement, and to meet your standard website data volume, as follows:
http://xxxx.com/bbs/index.php
Http://xxxx.com/bbs/?page=1
Http://xxxx.com/bbs/?page=3
Now we're going to test the amount of page traffic per second (throughput, processing power in a unit of time)

#./http_load-parallel 5-fetches Urls.txt
The above command means using 5 processes at the same time, random access to the site address in Urls.txt, a total of 100 visits. is to pick up the Sky star's Light cloud server test results:



I can see that my small Cloud server can also access 11 pages per second. (11.3376 fetches/sec)
We re-test how much access pressure is expected to withstand (a large number of user concurrency environments for a period of time)
#./http_load-rate 5-seconds Urls.txt
The above command means that at a frequency of 5 requests per second, for a duration of 10 seconds, the following is the result of the operation:


The following are the results of the analysis:
A, fetches, 2 max parallel, 4.37906e+06 bytes, in 10.0013 seconds
A total of 49 requests, the largest concurrent process is 2, a total of transmission 4.37906e+06bytes, running time of 10.0013 seconds
B, 89368.5 mean bytes/connection
Average 89368.5bytes of data transmitted per request
C, 4.89936 fetches/sec, 437848 bytes/sec
Request page average is 4.89936 per second, throughput is 437849bytes
D, the last is the response time and return time of each request, including average, maximum, minimum.

Http_load Benchmark test (full-station test)

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.