Today I came to an ASP. NET stress test. The environment is as follows:
Language: asp.net C #
Dll size: 52kb + 260kb + 20.kb + 20kb + 48kb = 20.kb
Database: Access 8 MB or so single connection to Access the database 4-5 times
IIS: IIS6.0 port: 80 limit: 25% Cpu usage
Application pool: Independent
CPU: CM520 1.6 Ghz x 1
Memory: 2 GB
Actual usage: 28 MB
Concurrency: 30 for 60 seconds
Network: Local Network
The ASP. NET stress test results are as follows:
Average Click Time 219 MS, 1,536 Clicks, 0 Errors
Total Number of Clicks: 1,536 (0 Errors)
Average Click Time of all URLs: 219 MS
Average speed: 219 in the first 10 seconds, the average speed is 800 ms, and then gradually decreases to 58 ms
That is, the program is gradually increased from 800 ms to 58ms... the final stability is around 58ms.
- // The ASP. NET pressure test results of the text version are as follows:
-
- Results of period #1 (from 4 sec to 15 sec ):
- **************************************** ************************
- Completed Clicks: 305 with 0 Errors (= 0.00%)
- Average Click TimeFor1,800 Users: 863 MS
- Successful clicks per Second: 29.61 (equals 106,584.86 Clicks per Hour)
-
- Results of period #2 (from 15 sec to 25 sec ):
- **************************************** ************************
- Completed Clicks: 307 with 0 Errors (= 0.00%)
- Average Click TimeFor1,800 Users: 61 MS
- Successful clicks per Second: 30.14 (equals 108,495.23 Clicks per Hour)
-
- Results of period #3 (from 25 sec to 35 sec ):
- **************************************** ************************
- Completed Clicks: 307 with 0 Errors (= 0.00%)
- Average Click TimeFor1,800 Users: 60 MS
- Successful clicks per Second: 29.89 (equals 107,607.40 Clicks per Hour)
-
- Results of period #4 (from 35 sec to 46 sec ):
- **************************************** ************************
- Completed Clicks: 310 with 0 Errors (= 0.00%)
- Average Click TimeFor1,800 Users: 58 MS
- Successful clicks per Second: 30.09 (equals 108,325.99 Clicks per Hour)
-
- Results of period #5 (from 46 sec to 56 sec ):
- **************************************** ************************
- Completed Clicks: 307 with 0 Errors (= 0.00%)
- Average Click TimeFor1,800 Users: 58 MS
- Successful clicks per Second: 29.76 (equals 107,136.94 Clicks per Hour)
The picture is actually quite clear, but it's okay to zoom in.
I am very depressed about this curve. Why is there a bottleneck in 10 seconds, and I have tried a maximum of 50 concurrent connections and those after 50 connections, the speed is more than 1 second.
Test 2: connect to Access, do not close the Connection, and wait until the Connection pool is full.
Result Access can only send about 50 concurrent connections. If the number of connections exceeds 50, the connection fails.
- ASP. net mvc unit test
- ASP. net mvc Web Application Project
- IIS6 ASP. net isapi request processing process
- Seven user management controls for ASP. NET controls
- RSA encryption for ASP. Net