In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. What is Performance Testing?
Performance testing refers to exerting pressure on the tested system according to a certain strategy in a specific way to obtain performance indicators such as system response time, concurrent users, throughput, resource utilization, etc., in order to ensure the performance of the production system.
The process of meeting user needs.
Response time: Response time refers to the time that users perceive the software system to spend serving them. In general, it is necessary to define the response time of the system under three conditions: idle response time, busy response time and peak response time.
Number of concurrent users: The number of concurrent users refers to the number of user requests that the system can process at the same time. It can also be understood as the number of users who submit requests to the system at the same time. Registered users refer to the number of all registered users in the system; online users refer to the number of users who log in to the system and operate in the system within the same time period.
Throughput: throughput refers to the number of customer requests processed by the system per unit time, reflecting the overall processing capacity of the system. The higher the system throughput, the better the system performance. Common metrics for throughput include: RPS, PPS, PV, TPS, QPS
Resource utilization: Resource utilization refers to the utilization rate of CPU, memory, hard disk, external storage and network bandwidth of database server, application server and web server during load operation of the system.
According to experience, less than 20% of the utilization rate for idle resources, 20%--60% of the utilization rate for stable resource use, 60%--80%
The utilization rate of indicates that resource utilization is saturated. Resource utilization rate exceeding 80% must be adjusted and optimized as soon as possible.
2. The scope of software performance testing is wide, usually including execution efficiency, resource occupation, stability, security, compatibility, scalability, reliability, etc.
3 Different roles in understanding software performance
1) Software performance from the point of view of system users System users refer to the personnel who actually use the system functions. The software performance seen by the system user is the response time of the software, that is, after the user performs a functional operation in the software, the software fully displays the results of this operation to the user. System response time is affected by the following factors: granularity of functions, client network conditions, current server busy and idle conditions, etc. From a system user perspective, the shorter the software response time, the better the system performance.
2) From the perspective of system operation and maintenance personnel, software performance System operation and maintenance personnel refer to the staff responsible for the operation and maintenance of software systems. While paying attention to system response time, operation and maintenance personnel also need to pay attention to system resource utilization rate, system maximum capacity, system access volume change trend, data volume growth range, system expansion capacity, etc., and formulate reasonable system maintenance plan on this basis to ensure that the system can provide stable and reliable continuous service for users. It mainly focuses on the server status when the system is running, such as CPU utilization, memory usage, etc., whether the system can be expanded, how many users the system supports, system stability, and whether it supports 7*24 hours of business access.
3) From the perspective of developers, whether the software performance architecture design is reasonable, whether the database design is reasonable, whether there are performance problems in the code, and whether there are unreasonable memory usage methods in the system.
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.