Web performance monitoring and analysis

Source: Internet
Author: User

Note: The original is:Andyguo: "Web performance Monitoring and Analysis "



Performance testing requires the use of different tools, combined with system logs, monitoring servers, applications, and many other indicators. The following is a description of monitoring indicators, monitoring tools, bottleneck analysis. Service-Side Monitoring metrics

Metrics that you typically need to monitor for performance testing include: Server

Linux (includes CPU, Memory, Load, I/O). Database

Mysql (cache hit, index, single SQL performance, number of database threads, number of data pool connections). Middleware

1.tomcat 2, Nginx 3, memcache (including the number of threads, number of connections, logs). Internet

throughput, throughput rate. Application

JVM memory, log, full GC frequency. Client Monitoring Indicator LoadRunner

User execution, scene state, transaction response time, TPS, throughput, and more. Test machine Resources

CPU, memory, network, disk space. Common monitoring Tools Jstat

Monitor the GC status of the Java process to determine if the GC is normal. JConsole

Monitoring Java memory, JAVACPU usage, thread execution, and so on, needs to be configured in the JVM parameters. JMap

Monitor Java programs for memory leaks that need to be used with Eclipse plug-ins or Memoryanalyzer. Jprofiler

Full monitoring of CPU usage, memory usage, cumulative response time, thread execution, etc. for each node needs to be configured in the JVM parameters. Nmon

Comprehensive monitoring of Linux system resource usage, including CPU, memory, I/O, etc., can be independent of application monitoring. Probe

Fully monitor Tomcat threads, memory, JVM CPU usage, OS and JVM memory usage, swap utilization, number of requests received every 30 seconds, and more Memadim

1. Server parameter monitoring: STATS, SETTINGS, ITEMS, slabs, sizes real-time refresh

2. Server performance monitoring: GET, DELETE, INCR, DECR, CAs and other common operation hit rate real-time monitoring

3. Support data traversal, easy to monitor storage content

4. Support the conditional query, filter out the key or value that satisfies the condition. Profiling Information Sources

5. The information collected by the monitoring tool. Includes TPS, response time, number of user concurrency, JVM memory, full GC frequency, tomcat connections, data SQL execution time, memcache hit rate, nginx connections, and more.

6. Log of the application server. Includes error logs, timeout logs, and so on.

7. Information provided by the project co-workers. Includes database monitoring information provided by the DBA, and Code logic information provided by the developer. Analytical Standards

1. Through performance indicators, analysis of the stability of performance. Like what:

2. Whether the response time is consistent with performance expectations and performance is stable.

3. In the application log, the probability of timeout is within an acceptable range.

8. The extent to which TPS is maintained, whether there is a waveform, how much is the standard deviation, and whether it is in line with expectations.

9. Server CPU, memory, load is within a reasonable range, and so on. Analysis Tools

For some performance indicators, you can use the Automatic analysis tool to calculate the overall trend of data: 1, LoadRunner analysis

Loadrunneranalysis is a component of the LoadRunner, used to generate reports on the data collected during operation, mainly for the acquisition of TPS, response time, throughput, server resource usage and other trends. 2. Memory Analyzer Analysis

The Memory Analyzer tool can parse the Jmap dump to find out if there is a memory leak. 3. Nmon_analyser Analysis

The Nmon tool can collect resource information from the server. Lists the usage of CPU, MEM, network, I/O, and other resource metrics. 4. Monyog Analysis

With this tool we are able to trace to a slower SQL statement, and can parse the number of rows scanned at the time of SQL statement execution, using the index condition.

Web performance monitoring and analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.