Web Performance test Parameters

Source: Internet
Author: User

1. Preface

Recently introduced keyless in the project, you need to test the performance impact on the web. Common Web testing tools include AB, Siege, Http_load, and so on. I'm using Apache's AB test tool. Before you test Web performance, you first need to consider which parameters to test and what to measure the performance of your web. Let's summarize today to facilitate future reference.

2. Web Performance Parameters

Using AB to simulate Web requests, you need to specify the number of requests and the number of concurrency. For example Ab-n 10000-c https://www.bestenover.com/

The results returned after execution are as follows:

Parameter explanation:

(1) Throughput rate (requests per second)
Concept: A quantitative description of the server concurrency processing capability, in reqs/s, refers to the number of requests processed per unit of time for a concurrent user. The maximum number of requests per unit of time that a concurrent user could process, called the maximum throughput rate.
Calculation formula: Total number of requests/time spent processing these requests, that is, request per second = Complete Requests/time taken for tests

(2) Concurrent connections (the number of concurrent connections)
Concept: The number of requests received by the server at some point, simply speaking, is a conversation.

(3) Concurrent users (the number of concurrent users,concurrency level)
Concept: To be aware of the difference between this concept and the number of concurrent connections, a user may produce multiple sessions at the same time, that is, the number of connections.

(4) Average Server request latency (time per request:across all concurrent requests)
Calculation formula: The amount of time/Total requests processed to complete all requests, that is, taken for/testscomplete requests
As you can see, it is the reciprocal of the throughput rate. At the same time, it is equal to the average request waiting time/number of concurrent users, that is, times per request/concurrency level

(5) Average user request wait time (times per request)
Calculation formula: Time spent processing all requests completed/(total number of requests/concurrent users), that is, times per request = Taken for tests/(full requests/concurrency level)

3. References

Http://www.jianshu.com/p/43d04d8baaf7

Web Performance test Parameters

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.