This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4170|Reply: 0

Performance analysis: TPS, QPS, average response time (RT) concepts

[Copy link]
Posted on 12/24/2021 9:54:02 AM | | |
Pressure testing tools

.NET/C# Load Test NBomber Simple Tutorial
https://www.itsvse.com/thread-9993-1-1.html

windows Apache ab web site stress test
https://www.itsvse.com/thread-4836-1-1.html

Stress test using Apache's ab tool
https://www.itsvse.com/thread-4410-1-1.html

Comparison of the testing tools LoadRunner and Jmeter
https://www.itsvse.com/thread-10172-1-1.html

TPS(Transactions Per Second)

TPS stands for Transactions Per Second, which is the number of transactions processed per second. A transaction refers to the process by which a client sends a request to the server and then the server reacts (full processing, i.e., the client initiates the request to get a response). The client starts timing when sending a request and ends the timing after receiving a response from the server to calculate the time used and the number of transactions completed, and finally use this information to evaluate the score. A transaction may correspond to multiple requests, and you can refer to the transaction operations of the database below.


QPS(Query Per Second)

QPS (Query Per Second), QPS is actually a common metric to measure throughput (throughput), that is, how many requests the server processes in one second - we usually refer to HTTP requests, obviously the higher the number, the higher the load on the server, the stronger the processing power. For reference, a program with simple business logic, including database access, can provide around 50 - 100 QPS when running a single core, i.e. it can process 50 - 100 requests per second.

Calculation relationship: QPS = concurrency amount / average response time; Concurrency = QPS * Average response time
QPS = req/sec = requests/sec

Average Response Time (RT)

RT: Response time, the average processing time it takes to process a request.
We also generally look at the average processing time for 90% of requests, as there may be extremes due to network conditions.




Previous:Elasticsearch-7.x uses xpack for security authentication
Next:Linux looks at the computer CPU architecture
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com