LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] aolserver vs apache

[Webdev] aolserver vs apache

Donncha O Caoimh donncha.ocaoimh at tradesignals.com
Fri Sep 15 11:35:24 IST 2000


Quick benchmark using Apache Bench.
Ran it with -n 1000 -c 100 parameters.
Fetched t.php, a file containing the following:
<?php
phpinfo();
?>
Also fetched root document. AOLserver default page on one machine vs a
page with one gif on the other machine.

Software tested:
AOLserver 3.1, php 4.0.2 on a 350MHz PII with 128MB ram which is also
serving Goldmine to a LAN.
Apache 1.3.12, php 4.0.0 on a 500MHz PIII  with 512MB ram. Runs a small
program in the background feeding data to other servers which only takes
between 2% to 5% of CPU and very little memory.

Note: AOLserver was tuned slightly to allow max 500 connections with a
minimum of 300.
Apache has the following:
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 250



Results:
1. t.php
Apache
Requests per second:    17.30
Transfer rate:          559.50 kb/s received
Document Length:        32148 bytes

AOLserver
Requests per second:    9.85
Transfer rate:          371.04 kb/s received
Document Length:        37037 bytes

2. root document
Apache
Requests per second:    17.39
Transfer rate:          3.77 kb/s received
Document Length:        52 bytes 

AOLserver
Requests per second:    583.77
Transfer rate:          1108.58 kb/s received
Document Length:        1689 bytes

Note: Apache Bench did download the gif file from the Apache server. It
reported traffic transferred of 217000 bytes, while HTML transferred was
52000 bytes as expected.
AOLserver transferred 1899000 bytes in total, 1689000 bytes of HTML.

Conclusion:
In this simple test, and in the context of using AOLserver as a PHP
aware webserver, Apache beats it easily. The PHP documentation
(php-4.0.2/sapi/aolserver/README) states that the AOLserver port is not
ready for production yet, but it's already more stable than it was a few
months ago.
AOLserver cannot be beaten by Apache for serving static content though. 

Apache Bench works much better if you stress test the servers over a
longer period building up number of hits over several minutes instead of
suddenly bombarding the server with 100 requests. Maybe next time.

Result:
Best for PHP: Apache 1.3
Best for static content: AOLserver 3.1

Lies, damn lies, and benchmarks.. do your own!

Donncha.




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell