In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "ASP.NET stress Test example Analysis". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Today, there is an ASP.NET stress test, the environment is as follows:
Language: asp.net C #
Dll size: 52kb + 260kb + 112kb + 20kb + 48kb=492kb
Database:: Access 8MB access to the database 4-5 times with a single connection
IIS:IIS6.0 port: 80 limit: 25% Cpu utilization
Application pools: standalone
CPU: CM520 1.6Ghz x 1
Memory: 2GB
Actual occupancy: 28MB
Number of concurrency: 30 lasts 60 seconds
Networks: local network
The results of ASP.NET stress test are as follows:
Average Click Time 219 ms, 1536 Clicks, 0 Errors
Total Number of Clicks: 1536 (0 Errors)
Average Click Time of all URLs: 219 ms
Average speed: 219 in the first 10 seconds, the average speed is 800ms, and then gradually decreases to 58ms
That is, the program is gradually improved from 800ms to 58ms. Stable at around 58ms.
/ / the text version of ASP.NET stress test results are summarized as follows: Results of period # 1 (from 4 sec to 15 sec): * * Completed Clicks: 305 with 0 Errors (= 0.005%) Average Click Time For 1800 Users: 863 ms Successful clicks per Second: 29.61 (equals 106584.86 Clicks per Hour) Results of period # 2 (from 15 sec to 25 sec): * Completed Clicks: 307 with 0 Errors (= 0.006%) Average Click Time for 1800 Users: 61 ms Successful clicks per Second: 30.14 (equals 108495.23 Clicks per Hour) Results of period # 3 (from 25 sec to 35 sec): * Completed Clicks: 307 with 0 Errors (= 0.007%) Average Click Time for 1800 Users: 60 ms Successful clicks per Second: 29.89 (equals 107607.40 Clicks per Hour) Results of period # 4 (from 35 sec to 46 sec): * Completed Clicks: 310 with 0 Errors (= 0.006%) Average Click Time for 1800 Users: 58 ms Successful clicks per Second: 30.09 (equals 108325.99 Clicks per Hour) Results of period # 5 (from 46 sec to 56 sec): * Completed Clicks: 307 with 0 Errors (= 0.007) Average Click Time for 1800 Users: 58 ms Successful clicks per Second: 29.76 (equals 107136.94 Clicks per Hour)
The picture is actually quite clear, but it's OK to enlarge it.
For this curve, I am very depressed about why there is a bottleneck at 10 seconds, and I have tried, up to 50 concurrent connections, after 50 connections, the speed will be more than 1 second.
Test 2, connect to Access, do not close Connection, and wait for the connection pool to be full.
As a result, Access can only have about 50 concurrent connections. If the connection exceeds 50, the connection will fail.
This is the end of the content of "ASP.NET stress Test example Analysis". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.