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

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

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

6 Comment(s)

Add comment


By: admin

I did it with OpenOffice Calc.


What program you used for creating of charts ?

By: ZebX

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

By: Anonymous

can you repeat apache tests with worker-mpm ?

By: Christian Folini

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.

By: Nuno

But i dont understand, what you have better performance? And with php file which is better?