The maximum number of concurrent users of a system is 1100, how can the system to calculate the maximum number of users supported

Source: Internet
Author: User

The maximum number of concurrent users of a system is 1100, how can the system to calculate the maximum number of users supported.

The user performance requirements are as follows: Support 1 million registered users

Performance Requirements Analysis:

1, according to the requirements of users, the system to support 1 million users, wherein the performance of the machine configuration? What is the peak value? Bandwidth? such as

2, if all use the company's test environment, then this performance should do what kinds of performance? Performance evaluation, load testing, strength testing?

3, how to calculate the number of concurrent users? Response time?

The performance indicators determine:

Because the user's performance needs are too wide, no specific value is set. So how do I carry out the subsequent work ?
1, determine the use of the company test environment, do not consider environmental issues. That is, the client, the server, and the bandwidth of a system can not be considered, this is fixed.

2, consider this project team developed before the system performance, can be used as a reference value.
Solution: Identify the project team with two + projects, and its performance metrics are right. The Browse function: Concurrency number is 1100, average response time is 363 seconds, average response time per user is 0.33 seconds. 3 concurrent users per second. One of the system users has reached 5 million and another system user is 3.2 million. And the two systems have been operating normally, but the current two systems of the server are 3 units. You can draw a server to load 1.66 million, or even more. (because there is a power-seeking relationship in the server)

3, 1 million users, then how to calculate his hourly peak activity users?

Solution: Use the 80 20 principle to calculate the number of peak active users per hour 66,670/hour, then the same function point per second Click Concurrency should be 18.5.

4, how to get its concurrency number?

Solution: How many function points does the system have? Function point is 153, that is, the system at the peak value of a function will be clicked 1258 times, click 0.35 times per second. Consider the previous value of this project group (regardless of the interval). The initial set of concurrent number is 1100, mainly browse function, followed by query and new.

5. You should test that type of performance
After repeated consideration, three kinds of performance are tested.

Execution performance:
Evaluation, according to the performance indicators to determine the 3rd, the user's concurrency is set to 300-350, to see the situation.
Load test, starting with 1100
Strength test for 15 hours and 24 hours

Performance Test results:
It is found that the maximum user support for this system is 1100. The failure user is up to 209 and the response time is 315. It can be judged that the maximum concurrency of this system is about 1100. It is said that the system can support 1.5 million users on a single server.

In the light of the above, it can be concluded that:

1100 user concurrency, the total response time for the user is Span style= "font-family: ' Times New Roman ';" >315 seconds (the average response time per user is 0.005 seconds), where the highest yields 209 failed users, But successful users can basically complete the follow-up operation, meet the current system requirements of the maximum number of stable users. It can be concluded that the system supports the maximum number of concurrent users in the new function points 1100 . According to 1*100 scale, calculated to get peak active users per hour 11 million / hours; 80 · 20 principle calculates that the system supports the number of registered users about 165 million. and the system performance needs large-scale support 100 million registered users, by the above data our system has reached the performance requirements of the system.

Note: million, using the The principle calculates the number of peak active users per hour by 6.667 million / hour .

The maximum number of concurrent users of a system is 1100, how can the system to calculate the maximum number of users supported

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.