Loadtesting this site and compare with static Apache

15 October 2003   1 comment   This site

Mind That Age!

This blog post is 15 years old! Most likely, its content is outdated. Especially if it's technical.

Powered by Fusion×

Disclaimer: These tests are not very scientific so values as they stand are irrelevant.

What is interesting is the difference between the two tests.

Basically what I did was that I sucked the whole www.peterbe.com site (22 files, 111KB) down and served it via Apache on the same machine as the Zope server.

Then I did a benchmark test using using ab with 10 users at 10 concurrent requests. The result is that Apache served the files about 30% faster than Zope.

Complete results

BUT! Bare in mind that the files that Apache served up are static whereas the files Zope served up are dynamic. The content of the Zope request depends on extracting data from a database, sorting, filtering and other various conditional statements. Apache can do none of that unless you use some sort of scripting like PHP, mod_python or mod_perl.

Pages served from Zope are also checked through a comprehensive security mechanism that Apache did not in this case. Every single item (22 of them), when extracted, were with security precautions on the Zope test.

The conclusion from this is: Zope is surprisingly fast considering all the work it needs to do compared to static Apache.


Thank you for posting a comment

Your email will never ever be published

Related posts

2 Years later 13 October 2003
Web design practices 15 October 2003
Related by Keyword:
Fastest *local* cache backend possible for Django 04 August 2017
How to do performance micro benchmarks in Python 24 June 2017
Benchmarking Autocompeter 12 April 2015
django-fancy-cache with or without stats 11 March 2013
How much faster is Nginx+gunicorn than Apache+mod_wsgi? 22 March 2012
Related by Text:
Gzip and Slimmer optimization anecdote 30 January 2007
Playing with filestream_iterator 30 May 2007
Is Nginx obsolete now that we have Amazon CloudFront? 28 July 2012
DoneCal homepage now able to do 10,000 requests/second 13 February 2011
Damn lies and benchmark comparing Apache and Nginx 03 June 2008