----------------------------
3 install fastcgi-mono-server2
### The sample installation is the most basic compilation package and library. Additional packages are required for Oracle compilation. Sudo apt-get install build-essential
Sudo apt-get install mono-fastcgi-server2
The following software packages will be upgraded:
Libbc-bin libc6 libc6-i686 libglib2.0-0
Four software packages have been upgraded, 153 new software packages have been installed, 0 software packages have to be uninstalled, and 26 software packages have not been upgraded.
Download the 58.3 MB software package.
After decompression, 182 MB of extra space is consumed.
Do you want to continue? [Y/n] y
Root @ www.linuxidc.com-ubuntu :~ # Fastcgi-mono-server2/version
Fastcgi-mono-server2.exe 2.4.3.0. (C) 2007 Brian Nickel
FastCGI Backend for XSP
------------------------------------------------------------------------------
Stress Test 1:
----------------------------------------------------------------------
--- Ubuntu --- cpu virtual 1 core --
# AB-n 1000-c 50 http: // 192.168.99.20/info. aspx
This command uses 50 concurrent connections to perform 1000 requests.
Therefore, this program can process (Requests per second) 1000/12. 17424 =
82Online requests.
Server Software: nginx/0.7.65
Server Hostname: 192.168.99.20
Server Port: 80
Concurrency Level: 50
Time taken for tests: 12.17424 seconds
Complete requests: 1000
Failed requests: 2
(Connect: 0, Length: 2, Exceptions: 0)
Write errors: 0
Non-2xx responses: 2
Total transferred: 21387790 bytes
HTML transferred: 21111040 bytes
Requests per secondd: 83.21 [#/sec] (mean)
Time per request: 600.871 [MS] (mean)
Time per request: 12.017 [MS] (mean, internal SS all concurrent requests)
Transfer rate: 1737.98 [Kbytes/sec] canceled ed
Connection Times (MS)
Min mean [+/-sd] median max
Connect: 0 0 1.0 0 17
Processing: 24 361 469.1 260 5659
Waiting: 18 355 467.8 251 5659
Total: 24 362 469.1 261 5659
Percentage of the requests served within a certain time (MS)
50% 261
66% 314
75% 367
80% 396
90% 499
95% 1134
98% 1661
99% 2551
100% 5659 (longest request)
--- Stress Test 2: Modify the NGINX. CONF configuration
--- Ubuntu --- cpu virtual 1 core. nginx. conf is set to 2, and the maximum connection is 51200 (the default value is 1024 )--
# AB-n 1000-c 50 http: // 192.168.99.20/info. aspx
This command uses 50 concurrent connections to perform 1000 requests.
Therefore, this program can process (Requests per second) 1000/8. 194228 =
122Online requests. (The modification configuration adds about 40 links per second)
Server Software: nginx/0.7.65
Server Hostname: 192.168.99.20
Server Port: 80
Concurrency Level: 50
Time taken for tests: 8.194228 seconds
Complete requests: 1000
Failed requests: 6
(Connect: 0, Length: 6, Exceptions: 0)
Write errors: 0
Non-2xx responses: 3
Total transferred: 21305214 bytes
HTML transferred: 21028589 bytes
Requests per secondd: 122.04 [#/sec] (mean)
Time per request: 409.711 [MS] (mean)
Time per request: 8.194 [MS] (mean, internal SS all concurrent requests)
Transfer rate: 2538.98 [Kbytes/sec] canceled ed
Connection Times (MS)
Min mean [+/-sd] median max
Connect: 0 4 55.9 0 996
Processing: 10 262 285.2 202 3050
Waiting: 3 257 285.8 197 3049
Total: 15 267 290.5 202 3050
Percentage of the requests served within a certain time (MS)
50% 202
66% 252
75% 283
80% 300
90% 359
95% 583
98% 1485
99% 1625
100% 3050 (longest request)
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.