Home > other >  At work, I've ever met and understand the performance of the problem
At work, I've ever met and understand the performance of the problem

Time:11-28

A, l 'oreal (China) drive system

1, used to do for l 'oreal China shop system, met in the program c + + to open the file operations, not to close, lead to the national retail terminals are getting slower and slower, - file operation is completed, to shut down

2, Beijing tongrentang shop system, due to improper database log output, server log is more and more large and full of drive, lead to some user operations are getting slower and slower - log output problems

3, a large number of business (replenish onr's stock, inventory, membership, sales) all of the business operating table only transactionlog table, finally made a table operations - architecture optimization problems

Second, the court trial software

1, database open not close, cause the system to restart the service manually, every day poor user experience - database open not close,

2, the problem of concurrency, resulting in only five people on inputting the operation of the case, you can bring other cases information automatically, program optimization,

Three: famous brand sale network

1, sale activity, the algorithm of the collation of goods (a small amount of users carry out), sale leads to the production line dedicated server CPU run out to 100%, electricity network operators - page can't open the sorting algorithm program optimization,

2, in the process of high concurrent testing found that concurrent situation inventory to sell into negative inventory, program optimization,

3, production production order process is slow, the optimized at the same time can generate more orders - program optimization,

Four: east China computer

1, Web services crash, Web page can't open, always can't find the reason at the beginning, testing and development tired to vomiting blood, final positioning Weblogic middleware parameter error in development mode (the right should be transferred into work mode), middleware configuration issues,

2, in the process of the acceptance test, 1000 users and cases, the response time than the specification required in - the problem of locating the picture is too large,

3, the Shanghai students credit system, the users couldn't get on, the login time is too long, the homepage is not static, and the home page contains a large number of complex calculation procedures -

4, Shanghai primary and middle school students' safety education online video, in the case of concurrent learning, students' learning time is negative - database field type Settings to overflow,

5, Shanghai enrollment files query system of the query response time and 33 seconds - increase index to optimize the query,

6, log response time is long, in the implementation of 2000 vusers learning video test scenario, log steps to the average response time of 12 seconds, through database monitoring tools show the login step is slow SQL, to perform a full table scan this SQL, the index has not been established, the solution to increase index index_3 sys_baseuser table, increase index, to perform 2000 vusers learning video test scenario, log on to the average time is less than 2 seconds,

7, the system resource bottleneck

From the above results, the application server and full-text search server CPU resource usage is close to 100%, the CPU bottleneck; Page in the application server's memory, memory bottlenecks, the application server and a full text search server resource allocation by the 4 c/8 gb capacity to 8 c/16 gb, the content of the server after the expansion, adjust the JVM virtual memory size, minimum value changed from 1 gb to 4 gb, maximum changed from 4 gb to 12 gb,

8, the login success rate low, the login success rate is below 99%, error message as "please input the correct image verification code", the problem is that the high concurrency, open the cover letter is not generated authentication code, this is to belong to a third party plug-in bug,

9, application server null pointer errors, Java. Lang. NullPointerExcepton: null, this problem after the team screen, the problem is that the application of judgment logic problems,

Five: xiamen bank of P2P system

1, in a test environment is simple with jmeter test the mark list page and mark details page, has reached more than 470 TPS, and smooth system,

2, using the same test scenarios tested the production environment, become white can't open web, the background of service error, and there are a lot of error log output,

Conclusion: in the P2P in regulation of the country, so there is no users, so the production no problem appeared to be no exposed problems at ordinary times, actually there is a problem, like a person have a chronic illness, usually seems to be no problem, but in some extreme cases, such as the patient run ten laps in the playground or heavy work, this disease is likely to break out, they may hang up,

Corresponding to the P2P system (extreme cases is large amount of concurrent system, the use of large users), the performance of the system bottleneck will explode instantly,

CodePudding user response:

How to find the problems how to solve
  • Related