In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
NGINX performance testing questions with question-asking skills
Recently, I have encountered a lot of network friends asking about production performance problems, and they generally ask questions like this:
Teacher, the utilization rate of CPU in our production environment is 99%. What's the problem?
Teacher, what is the problem that my response time has been increasing during the stress test?
Teacher, what is the problem when the web page turns on the white screen during our stress test?
At this time, we are helping to guess a set of questions and guide the consulting students to explain the cause of the problem step by step, for example, what kind of transaction to test? What is the environment configuration? What happened, etc.? Then, in the course of communication and discussion, they learned to look at the problem slowly, and some of the commands for monitoring resources were not well understood. For example, I asked about the usage of CPU, and they did not use many commands to monitor, or the deeper ones said that the utilization rate of CPU was not high, such as 4C8G. At this time, I would like to repeat the words again, specifically, whether the utilization rate of all four CPU is not high, or the average utilization rate is not high, or the utilization rate of a certain CPU is 100%. The other 10%? -of course, relatively speaking, beginners don't know how to look at it, so it's understandable.
What I want to say is: generally, as beginners, when the company asks you to do stress tests, it is normal to encounter many problems, the problem of the use of tools is a big problem, what is the situation of environment and resources, and it is also a problem if you do not understand it. It is also a big problem to test right or wrong. Anyway, if you are right or wrong, problems arise, find professionals, ask questions at the beginning, and patiently guide those who have a good temper. Encounter a personality, directly do not bird you and so on this is purely normal, but do not know, each has a work to be busy, how can unconditional support? Therefore, in order to reduce the communication cost of asking questions and reduce the information understanding errors of both sides, it is suggested that friends should think clearly before asking questions. When, what environment (environment configuration), under what conditions, what transaction, what type of system, what type of middleware, what type of database, what scenario and what questions to attend?
For example, in the test environment, the stress test 100 users, the response time is very large
In production environment, the utilization rate of CPU is very high under LINUX server, MYSQL database and 8C16G configuration.
In production environment, LINUX server, application server, TOMCAT 8.5and CPU utilization cannot be accessed and the front end cannot be accessed.
In the test environment, interface pressure test, 50 threads concurrent pressure test for 10 minutes, pressure test can not be tested, 8C16G graded tomcat 8.5, CPU utilization is very low and so on.
Of course, if there are some basic testers, you can send screenshots of error messages, screenshots of resources, etc., to teachers to assist in analysis, so that it is easier for both sides to reach a consensus on problem analysis and reduce communication costs.
The examples are as follows:
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.