What are performance indicators?
(Application load perspective) High concurrency and fast response - throughput and latency
(System resource perspective) Resource usage and saturation, etc.
The nature of the performance problem
That is, the system resources have reached the bottleneck, but the request processing is not fast enough to support more requests.
Performance analysis
In fact, it is to find the bottlenecks of the application or system and try to avoid or alleviate them, so as to use system resources more efficiently to handle more requests. This involves a series of steps:
Select metrics to evaluate application and system performance
Set performance goals for applications and systems
Do a performance benchmark
Performance Analysis Locating Bottlenecks
Optimize systems and applications
Performance Monitoring and Alerting
what is the point of learning
Establish a global view of overall system performance
(1) Understand the most basic principles of system knowledge
(2) Master the necessary performance tools
(3) Through actual scenario exercises, run through different components
Brendan Gregg's Homepage
Linux performance optimization knowledge points mind map
Pictures from the Internet
learn to pay attention
1 System principles are important, but don’t try to grasp all the implementation details at the beginning. Focus on how to observe and apply these principles
For example: What indicators can measure performance?
What performance tools to use to observe metrics
Factors leading to changes in these indicators, etc.
2 Learn by doing
3. Ask more why and summarize more.