Logo
My Journal
Blog

Timeline

Blog

What is the best Webserver

Have you been wondering what is the best Webserver? is it the Famous Apache which almost all Web Host use? or its Tight counterpart Lighthttp or the new comer LiteSpeed

for people who does not know what is a webserver:

A webserver is computer program that is responsible for accepting HTTP requests from clients (user agents such as web browsers), and serving them HTTP responses along with optional data contents, which usually are web pages such as HTML documents and linked objects (images, etc.).

[ Specs of Involved Machines ]

CPU
Quad-Core AMD Opteron(tm) Processor 2350
MemTotal: 1048796 kB

Linux Version
Linux version 2.6.24-23-xen (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) 0000001 SMP Mon Jan 26 03:09:12 UTC 2009

System
CentOS release 5.3 (Final)

[ HTML Results ]

Apache:
Server Software: Apache/2.2.3
Server Hostname: 174.XXX.XXX.93
Server Port: 80

Document Path: /index2.html
Document Length: 0 bytes

Concurrency Level: 100
Time taken for tests: 1.980113 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 265795 bytes
HTML transferred: 0 bytes
Requests per second: 505.02 [#/sec] (mean)
Time per request: 198.011 [ms] (mean)
Time per request: 1.980 [ms] (mean, across all concurrent requests)
Transfer rate: 130.80 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 7.3 4 32
Processing: 4 98 319.1 40 1972
Waiting: 4 96 317.7 40 1972
Total: 8 104 318.9 44 1976

Percentage of the requests served within a certain time (ms)
50% 44
66% 56
75% 56
80% 56
90% 60
95% 60
98% 1976
99% 1976
100% 1976 (longest request)


Server Software: lighttpd/1.4.22
Server Hostname: 174.XXX.XXX.94
Server Port: 80

Document Path: /index2.html
Document Length: 0 bytes

Concurrency Level: 100
Time taken for tests: 4.132235 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 232232 bytes
HTML transferred: 0 bytes
Requests per second: 242.00 [#/sec] (mean)
Time per request: 413.224 [ms] (mean)
Time per request: 4.132 [ms] (mean, across all concurrent requests)
Transfer rate: 54.69 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 94 502.5 0 3000
Processing: 0 40 280.2 12 4092
Waiting: 0 38 278.6 4 4092
Total: 0 134 569.0 20 4092

Percentage of the requests served within a certain time (ms)
50% 20
66% 20
75% 20
80% 20
90% 36
95% 72
98% 3000
99% 3000
100% 4092 (longest request)


Server Software: LiteSpeed
Server Hostname: 67.XXX.XXX.123
Server Port: 8088

Document Path: /index2.html
Document Length: 0 bytes

Concurrency Level: 100
Time taken for tests: 1.388079 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 234864 bytes
HTML transferred: 0 bytes
Requests per second: 720.42 [#/sec] (mean)
Time per request: 138.808 [ms] (mean)
Time per request: 1.388 [ms] (mean, across all concurrent requests)
Transfer rate: 164.98 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 7 9.3 0 36
Processing: 0 34 159.8 20 1384
Waiting: 0 31 151.8 4 1384
Total: 0 41 160.7 20 1384

Percentage of the requests served within a certain time (ms)
50% 20
66% 20
75% 20
80% 20
90% 28
95% 44
98% 240
99% 1260
100% 1384 (longest request)


[ Image Result: ]

Server Software: Apache/2.2.3
Server Hostname: 174.xxx.xxx.93
Server Port: 80

Document Path: /imagetest.jpg
Document Length: 3400412 bytes

Concurrency Level: 10
Time taken for tests: 20.845188 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 34006740 bytes
HTML transferred: 34004120 bytes
Requests per second: 0.48 [#/sec] (mean)
Time per request: 20845.188 [ms] (mean)
Time per request: 2084.519 [ms] (mean, across all concurrent requests)
Transfer rate: 1593.13 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.3 0 4
Processing: 20141 20595 245.1 20661 20841
Waiting: 0 30 27.1 40 60
Total: 20141 20595 245.4 20661 20841

Percentage of the requests served within a certain time (ms)
50% 20661
66% 20725
75% 20821
80% 20841
90% 20841
95% 20841
98% 20841
99% 20841
100% 20841 (longest request)


Server Software: lighttpd/1.4.22
Server Hostname: 174.xxx.xxx.94
Server Port: 80

Document Path: /imagetest.jpg
Document Length: 3400412 bytes

Concurrency Level: 10
Time taken for tests: 20.209151 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 34006500 bytes
HTML transferred: 34004120 bytes
Requests per second: 0.49 [#/sec] (mean)
Time per request: 20209.150 [ms] (mean)
Time per request: 2020.915 [ms] (mean, across all concurrent requests)
Transfer rate: 1643.27 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 18709 19838 527.7 20109 20209
Waiting: 4 24 27.3 20 80
Total: 18709 19838 527.7 20109 20209

Percentage of the requests served within a certain time (ms)
50% 20109
66% 20149
75% 20149
80% 20189
90% 20209
95% 20209
98% 20209
99% 20209
100% 20209 (longest request)


Server Software: LiteSpeed
Server Hostname: 67.xxx.xxx.123
Server Port: 8088

Document Path: /imagetest.jpg
Document Length: 3400412 bytes

Concurrency Level: 10
Time taken for tests: 19.841131 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 34007280 bytes
HTML transferred: 34004120 bytes
Requests per second: 0.50 [#/sec] (mean)
Time per request: 19841.131 [ms] (mean)
Time per request: 1984.113 [ms] (mean, across all concurrent requests)
Transfer rate: 1673.80 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 4 4 0.0 4 4
Processing: 18741 19504 340.3 19661 19837
Waiting: 0 10 17.0 0 40
Total: 18745 19508 340.3 19665 19841

Percentage of the requests served within a certain time (ms)
50% 19665
66% 19685
75% 19725
80% 19825
90% 19841
95% 19841
98% 19841
99% 19841
100% 19841 (longest request)

[ PHP Result ]

Server Software: Apache/2.2.3
Server Hostname: 174.xxx.xxx.93
Server Port: 80

Document Path: /phpinfo.php
Document Length: 42914 bytes

Concurrency Level: 100
Time taken for tests: 46.222634 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 43749819 bytes
HTML transferred: 43576083 bytes
Requests per second: 21.63 [#/sec] (mean)
Time per request: 4622.264 [ms] (mean)
Time per request: 46.223 [ms] (mean, across all concurrent requests)
Transfer rate: 924.31 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 691 261.3 780 1380
Processing: 1812 3749 704.6 3880 7868
Waiting: 4 824 495.0 780 3388
Total: 1816 4440 700.3 4700 7872

Percentage of the requests served within a certain time (ms)
50% 4700
66% 4740
75% 4760
80% 4780
90% 4820
95% 5160
98% 5780
99% 7712
100% 7872 (longest request)


Server Software: lighttpd/1.4.22
Server Hostname: 174.xxx.xxx.94
Server Port: 80

Document Path: /phpinfo.php
Document Length: 41967 bytes

Concurrency Level: 100
Time taken for tests: 41.686375 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 42857280 bytes
HTML transferred: 42692397 bytes
Requests per second: 23.99 [#/sec] (mean)
Time per request: 4168.638 [ms] (mean)
Time per request: 41.686 [ms] (mean, across all concurrent requests)
Transfer rate: 1003.97 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1016 947.0 824 5104
Processing: 20 2958 1008.7 3260 5000
Waiting: 0 636 276.1 680 1260
Total: 20 3975 1411.1 4180 8284

Percentage of the requests served within a certain time (ms)
50% 4180
66% 4200
75% 4220
80% 4220
90% 4780
95% 6364
98% 7600
99% 7744
100% 8284 (longest request)


Server Software: LiteSpeed
Server Hostname: 67.xxx.xxx.123
Server Port: 8088

Document Path: /phpinfo.php
Document Length: 23620 bytes

Concurrency Level: 100
Time taken for tests: 24.509397 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 24198400 bytes
HTML transferred: 24049648 bytes
Requests per second: 40.80 [#/sec] (mean)
Time per request: 2450.940 [ms] (mean)
Time per request: 24.509 [ms] (mean, across all concurrent requests)
Transfer rate: 964.16 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 516 283.3 560 3708
Processing: 892 1815 319.6 1768 5092
Waiting: 8 406 178.9 380 1472
Total: 896 2332 324.7 2356 5892

Percentage of the requests served within a certain time (ms)
50% 2356
66% 2440
75% 2480
80% 2500
90% 2520
95% 2560
98% 2676
99% 2760
100% 5892 (longest request)

1 Comments
Leave A Comment