I did some benchmarks of aolserver vs lighthttpd on plain files of
various sizes, on my 8cpu 64 bit server.
For 3 runs, with a 4k text file, the lighthttpd stats were 15103.87/
s, 14845.20/s and 15307.17/s, vs (as Dossy reports http://dossy.org/
archives/000517.html) aolserver's 15237.00/s.
Result: Aolserver is performing virtually identically to lighthttpd
with a small 4k file.
With a 44k JPG (the BookMooch home page illustration) aolserver is
slightly slower:
aolserver: 8164.54/s, 8283.93/s
lighthttpd: 10281.01/s, 9969.91/s
With 1,414k sized zip, aolserver is about 1/2 as fast:
aolserver: 406.36/s, 421.10/s
lighthttpd: 844.05/s, 807.83/s
with a 128mb file, aolserver is 40% slower:
aolserver: 5.42/s
lighthttpd: 8.88/s
And just FYI "hello world" in tcl (<% ns_adp_puts "hello" %>):
aolserver: 950.85/s
I haven't done a "hello world" in C: I assume it'd be close to the
16k/s speed
-john
www64:/b# ab -c 5 -n 50000 http://images.bookmooch.com/x.txt
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking images.bookmooch.com (be patient)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Finished 50000 requests
Server Software: lighttpd/1.4.18
Server Hostname: images.bookmooch.com
Server Port: 80
Document Path: /x.txt
Document Length: 4070 bytes
Concurrency Level: 5
Time taken for tests: 3.266443 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Total transferred: 218950000 bytes
HTML transferred: 203500000 bytes
Requests per second: 15307.17 [#/sec] (mean)
Time per request: 0.327 [ms] (mean)
Time per request: 0.065 [ms] (mean, across all concurrent
requests)
Transfer rate: 65458.97 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 0 0.1 0 12
Waiting: 0 0 0.1 0 12
Total: 0 0 0.1 0 12
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 0
95% 0
98% 0
99% 0
100% 12 (longest request)
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.