In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
What is the knowledge of TPS, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
TPS is the abbreviation of Transactions Per Second, that is, the number of tasks per second. It is the measurement unit of the result of software test. One service is that a guest machine sends a request to the server, and then the server makes a response process. The guest machine starts to count the time when sending the request, and ends the time when it is received by the server, so as to calculate the number of tasks used and completed, and finally use these messages to estimate the score. The weighted co-function square method is used to calculate the score of the client machine, and the test software is to use these messages of the client machine to calculate the whole TPS score of the server.
TPS mainly reflects the speed at which the server processes the currently recorded transactions. If the performance is good, it is still not enough to support it.
Of course, you also need to see the complexity of your recorded application.
If the application is simple, garbage servers can also have a high tps.
Now set up three situations in a scene:
1. Add anything to the script, only set each Action as a transaction, and run the scenario to get TPS1.
2. Set each function operation as a transaction, and run the scenario to get the TPS2
3. In an action with hundreds or thousands of steps, a transaction is manually added in the middle step, and the TPS3 is obtained by running the scenario.
With these three settings, the TPS must be different, TPS2 > TPS3 > TPS1.
So if so, how can we evaluate the processing capacity of the system according to the value of TPS?
You can't just understand TPS, you have to look at it in conjunction with HPS. For example, recording is a website, there are a lot of pictures, there are many links. In this way, after the stress test, TPS will naturally be very high. Of course, it does not mean that the performance of the server is very good. And in report, we can only make the most superficial analysis by combining CPU, memory, Imax O, etc. TPS and HITS.
An example of test report: =
Report name: 2010-1-28 14:51:25
Run on: 2010-01-28 14:51:25
Run length: 00:03:10
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 1315
Requests per Second: 21.92
Socket Statistics
Socket Connects: 1315
Total Bytes Sent (in KB): 806.58
Bytes Sent Rate (in KB/s): 13.44
Total Bytes Recv (in KB): 5083.10
Bytes Recv Rate (in KB/s): 84.72
Socket Errors
Connect: 0
Send: 0
Recv: 0
Timeouts: 0
RDS Results
Successful Queries: 0
Script Settings
=
Server: localhost
Number of threads: 500
Test length: 00:01:00
Warmup: 00:01:00
Cooldown: 00:01:00
Use Random Delay: No
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
=
Localhost
Clients not used in test
=
Result Codes
Code Description Count
=
200 OK 1315
Page Summary
Page Hits TTFB Avg TTLB Avg Auth Query
=
CONNECT clients1.google.com:44 139 36.65 36.68 No No
GET / message.php 424 41116.41 41116.89 No No
GET / ms_login.php 424 1173.97 1174.47 No No
POST / ms_login.php?action=logi 110 309.06 310.73 No No
GET / message.php 58 300.22 301.66 No No
GET / css/div.css 21 97.29 97.29 No No
POST / message.php?action=messa 139 54669.60 54670.00 No No
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.