Benchmark: Apache2 vs. Lighttpd (Static HTML Files) - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2008-09-18 17:32. ::

ab -n 100 -c 50 http://localhost/test.html

Apache: 469,47 requests/second

Lighttpd: 501,45 requests/second (+ 6,81%)

 

ab -n 1000 -c 50 http://localhost/test.html

Apache: 583,74 requests/second

Lighttpd: 708,13 requests/second (+ 21,31%)

 

ab -n 10000 -c 50 http://localhost/test.html

Apache: 827,41 requests/second

Lighttpd: 1058,69 requests/second (+ 27,95%)

 

ab -n 100 -c 100 http://localhost/test.html

Apache: 423,09 requests/second

Lighttpd: 494,61 requests/second (+ 16,90%)

 

ab -n 1000 -c 100 http://localhost/test.html

Apache: 547,59 requests/second

Lighttpd: 706,53 requests/second (+ 29,03%)

 

ab -n 10000 -c 100 http://localhost/test.html

Apache: 790,74 requests/second

Lighttpd: 924,52 requests/second (+ 16,92%)

 

Complete Graph


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Nuno (not registered) on Thu, 2008-09-25 11:18.
But i dont understand, what you have better performance? And with php file which is better?
Submitted by Christian Folini (not registered) on Fri, 2008-09-19 08:45.

This is not a very elaborate, but it gives a clear understanding of raw performance on static files.

I expected to see more difference, now I know more.

Thank you for your work, Falko.

Submitted by Anonymous (not registered) on Fri, 2008-09-19 06:53.

can you repeat apache tests with worker-mpm ?

Submitted by exn (registered user) on Thu, 2008-09-18 22:30.

What program you used for creating of charts ?

Submitted by admin (registered user) on Fri, 2008-09-19 00:50.
I did it with OpenOffice Calc.
Submitted by ZebX (not registered) on Thu, 2008-09-18 19:46.

ab do not represent human comportment and test other limits than web server during this simple test...