I don't want to explain the problem with some abstract concepts here. I just want to express my thoughts as accurately as possible in plain languages. Optimization. Why? If you say a system needs to be optimized, what are your criteria? There are only two aspects: (1)Response timeSpecifically, the time interval from when the user sends a request to when the response is received. If your users do not feel that the response time is too long, don't find something for yourself. (2)ThroughputThe number of user or system requests completed per unit time. But sometimes these two points are contradictory and you have to make a balance. Let these two points reach a reasonable range.
If you have determined the optimization goal, you should find the path to achieve the goal. I have five years of Java development experience and SystemsManagementIn terms of experience, we can achieve our goal from the following two aspects:
I. System-level optimization
System-level optimization is too big. To put it bluntly, it is the allocation of system resources. system resources are the CPU, memory, storage (I/O), network and serial communication.
2. Application-level optimization
Application-level optimization is the applicationProgramThe architectural design of the program, whether the program logic gives full play to the advantages of the system.
OptimizationIn the end, it is running on the system.ApplicationWhetherEfficientUsedSystem Resources.
You need to know that debugging is necessary to optimize the system. Therefore, the debugging tool will also affect the system performance while debugging, therefore, when performing Performance Analysis and debugging, you must use a variety of tools to analyze resource bottlenecks,Performance OptimizationThere is no unique value or optimal value.
Performance Analysis and debugging principles:
1. If you do not understand it, do not modify the system parameters at will.
2. Only one system resource is debugged at a time.
3. We recommend that you modify the parameter settings as few as possible each time.
4. Multiple tools are used to analyze a system resource.
5.
OK. This is the summary. If you have any mistakes, please give me more advice.
Tools for analyzing and debugging different resources are described in my other blog. For more information, see. Http://space.itpub.net/8554499/viewspace-580463