Focus on Web site performance testing

Source: Internet
Author: User
Keywords Attention

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Measuring a site's quality is good or bad, in addition to its own ability to provide a variety of functional services, its performance to a large extent can also determine the success of a Web site, the reason is that the performance of the site directly affects the user experience, if the site because of slow connection speed, operation response Timeout, In the face of high load and high pressure when the server and other problems, it will lead to user time waste and bring the disaster of the site. Therefore, the performance test of the website is an important aspect that each website must pay attention to, the following have several important content of the website performance test, include:

First, the site's connection speed test. The purpose of the connection speed test for a Web site is to ensure that the user's request is answered within the time that it can be received. There are many ways users can connect to a Web site, including a LAN, a broadband network, a fiber optic network, or a power network. No matter which connection the user uses, the Web site does not allow the user to wait for a long time. If a Web site's system response time is too long, for example, more than 8-10 seconds, most users will leave because they have no patience to wait. If the connection speed is too slow, also may cause the page data loading is not complete, even the page data load error, but causes the data to lose, causes the user not to have the real corresponding page.

Second, the site's stress tests. Site stress testing, described in a simple way, is through many clients (browsers) in a short period of time to carry out a large number of concurrent requests, the purpose is to destroy a Web site system, testing the site can withstand the pressure level. In other words, the site's stress testing is a strong responsibility (a large number of concurrent user requests, large amount of data sent, etc.) under the test. By viewing the site in the peak pressure use of the operation behavior, so as to effectively detect the site system of a hidden function, the site has a good recoverability and fault tolerance. Through the stress test, the problem of Web server and Web server memory leak can be discovered quickly, and the related factors affecting system stability can be found effectively. Stress testing is the test site's critical and failure recovery capabilities, that is, testing the Web site system will be easy to crash, under what circumstances will crash. Many hackers often provide very high pressure data loads (such as DDoS attacks) until the site system crashes, and then get the system's relevant permissions when the server restarts.

Again, the site load test. The Web site's load tests are designed to measure the performance of web sites at a certain load level to ensure that the system can function properly within the requirements range. The load level of a Web site can be the number of users who can access the system at any one time, or the size of data processing at the same time. Under normal load, a site may not function properly or the probability of a system error is relatively low, it may occur only once or a few months in one months, but in a high load situation, it can occur in hours or days to identify defective features or other system problems. For example, we test an online shopping mall's order submission function through the site's load test, we can find some results on Web site performance testing: For example, users within 100 are not requests, the probability of error is almost 0, but in more than 100 concurrent requests, The probability of discovering the error rate is 2%, while the error rate is 30% for 1000 concurrent users.

Different Web sites have different performance testing requirements, for example, simply provide a simple picture and text information of the site, then the site performance test will not have too much challenge in the short term, and e-commerce sites, SNS social platform, interactive animation sites, and so on, the site's response rate, pressure load will have higher requirements. Therefore, the site's performance test focus will also be different, but whether it is a cooperative type of Web sites, performance testing is a Web site operation must focus on important aspects.

This article by the psychologist http://www.psybook.com feeds, reprint please indicate the source!

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.