Performance testing and analysis-intensive concepts

Source: Internet
Author: User

Regarding the concept of "intensive", Baidu's "know" refers to "What is a labor-intensive product", which means that the production of this product requires a large amount of labor, labor consumption in product costs accounts for a large proportion, such as textile products, service products, food, and daily necessities.

In the same performance test process, we want to differentiate applicationsProgramThe proportion of system resource consumption is different. Some typical programs that consume a large amount of resources are called "×× intensive. For example, if the CPU usage of a program is always high (80% or more), we can call it "CPU-intensive, if a program runs frequently (when the CPU and other resources are relatively idle) reading or writing data to a disk is called "I/O-intensive" or "disk-intensive. In addition, if the application occupies more bandwidth when a large number of concurrent users access and other resources such as CPU and disk are relatively idle, it can be called "bandwidth-intensive. After determining these concepts, we have clearly identified the potential performance bottlenecks of the application. For example, if the application is "bandwidth-intensive, therefore, unless sufficient bandwidth is guaranteed, it will become the performance bottleneck of the application.

However, the general applications do not have to use a resource as obvious as they are. However, the characteristics of some applications determine that they belong to a certain category. For example, for some Web applications that require a large amount of computing, they are CPU-intensive, for Web applications that access static images, they may be "I/O-intensive" or "disk-intensive.

In addition, different bottlenecks can be eliminated for different types of applications:
1. CPU-Intensive Web applications can be optimizedAlgorithmOr machines and clusters with multiple CPUs to improve the parallel response capability of applications;
2. I/O-Intensive Web applications can adopt SCSI hard disks with high I/O efficiency or cluster methods;
3. For "bandwidth-intensive" Web applications, minimize the amount of Information uploaded and downloaded, use higher bandwidth, or use HTTP compression without affecting functions.

This article summarizes the characteristics of several typical application services and provides some targeted solutions. In actual work, the concentrated conditions may be combined. Therefore, we should consider the bottleneck Elimination Strategy comprehensively.

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.